UNPKG

ngx-spinner

Version:

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

97 lines (78 loc) 1.3 kB
/*! * Load Awesome v1.1.0 (http://github.danielcardoso.net/load-awesome/) * Copyright 2015 Daniel Cardoso <@DanielCardoso> * Licensed under MIT */ .la-ball-beat, .la-ball-beat > div { position: relative; box-sizing: border-box; } .la-ball-beat { display: block; font-size: 0; color: #fff; } .la-ball-beat.la-dark { color: #333; } .la-ball-beat > div { display: inline-block; float: none; background-color: currentColor; border: 0 solid currentColor; } .la-ball-beat { width: 54px; height: 18px; } .la-ball-beat > div { width: 10px; height: 10px; margin: 4px; border-radius: 100%; animation: ball-beat 0.7s -0.15s infinite linear; } .la-ball-beat > div:nth-child(2n-1) { animation-delay: -0.5s; } .la-ball-beat.la-sm { width: 26px; height: 8px; } .la-ball-beat.la-sm > div { width: 4px; height: 4px; margin: 2px; } .la-ball-beat.la-2x { width: 108px; height: 36px; } .la-ball-beat.la-2x > div { width: 20px; height: 20px; margin: 8px; } .la-ball-beat.la-3x { width: 162px; height: 54px; } .la-ball-beat.la-3x > div { width: 30px; height: 30px; margin: 12px; } /* * Animation */ @keyframes ball-beat { 50% { opacity: 0.2; transform: scale(0.75); } 100% { opacity: 1; transform: scale(1); } }