UNPKG

ngx-spinner

Version:

A library with more than 50 different loading spinners for Angular 4 - 21. (https://napster2210.github.io/ngx-spinner/)

90 lines (72 loc) 1.2 kB
/*! * Load Awesome v1.1.0 (http://github.danielcardoso.net/load-awesome/) * Copyright 2015 Daniel Cardoso <@DanielCardoso> * Licensed under MIT */ .la-ball-scale, .la-ball-scale > div { position: relative; box-sizing: border-box; } .la-ball-scale { display: block; font-size: 0; color: #fff; } .la-ball-scale.la-dark { color: #333; } .la-ball-scale > div { display: inline-block; float: none; background-color: currentColor; border: 0 solid currentColor; } .la-ball-scale { width: 32px; height: 32px; } .la-ball-scale > div { width: 32px; height: 32px; border-radius: 100%; opacity: 0; animation: ball-scale 1s 0s ease-in-out infinite; } .la-ball-scale.la-sm { width: 16px; height: 16px; } .la-ball-scale.la-sm > div { width: 16px; height: 16px; } .la-ball-scale.la-2x { width: 64px; height: 64px; } .la-ball-scale.la-2x > div { width: 64px; height: 64px; } .la-ball-scale.la-3x { width: 96px; height: 96px; } .la-ball-scale.la-3x > div { width: 96px; height: 96px; } /* * Animation */ @keyframes ball-scale { 0% { opacity: 1; transform: scale(0); } 100% { opacity: 0; transform: scale(1); } }