UNPKG

ngx-spinner

Version:

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

104 lines (85 loc) 1.55 kB
/*! * Load Awesome v1.1.0 (http://github.danielcardoso.net/load-awesome/) * Copyright 2015 Daniel Cardoso <@DanielCardoso> * Licensed under MIT */ .la-ball-pulse-sync, .la-ball-pulse-sync > div { position: relative; box-sizing: border-box; } .la-ball-pulse-sync { display: block; font-size: 0; color: #fff; } .la-ball-pulse-sync.la-dark { color: #333; } .la-ball-pulse-sync > div { display: inline-block; float: none; background-color: currentColor; border: 0 solid currentColor; } .la-ball-pulse-sync { width: 54px; height: 18px; } .la-ball-pulse-sync > div { width: 10px; height: 10px; margin: 4px; border-radius: 100%; animation: ball-pulse-sync 0.6s infinite ease-in-out; } .la-ball-pulse-sync > div:nth-child(1) { animation-delay: -0.14s; } .la-ball-pulse-sync > div:nth-child(2) { animation-delay: -0.07s; } .la-ball-pulse-sync > div:nth-child(3) { animation-delay: 0s; } .la-ball-pulse-sync.la-sm { width: 26px; height: 8px; } .la-ball-pulse-sync.la-sm > div { width: 4px; height: 4px; margin: 2px; } .la-ball-pulse-sync.la-2x { width: 108px; height: 36px; } .la-ball-pulse-sync.la-2x > div { width: 20px; height: 20px; margin: 8px; } .la-ball-pulse-sync.la-3x { width: 162px; height: 54px; } .la-ball-pulse-sync.la-3x > div { width: 30px; height: 30px; margin: 12px; } /* * Animation */ @keyframes ball-pulse-sync { 33% { transform: translateY(100%); } 66% { transform: translateY(-100%); } 100% { transform: translateY(0); } }