UNPKG

ngx-spinner

Version:

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

110 lines (91 loc) 1.6 kB
/*! * Load Awesome v1.1.0 (http://github.danielcardoso.net/load-awesome/) * Copyright 2015 Daniel Cardoso <@DanielCardoso> * Licensed under MIT */ .la-ball-rotate, .la-ball-rotate > div { position: relative; box-sizing: border-box; } .la-ball-rotate { display: block; font-size: 0; color: #fff; } .la-ball-rotate.la-dark { color: #333; } .la-ball-rotate > div { display: inline-block; float: none; background-color: currentColor; border: 0 solid currentColor; } .la-ball-rotate { width: 10px; height: 10px; } .la-ball-rotate > div { width: 10px; height: 10px; border-radius: 100%; animation: ball-rotate-animation 1s cubic-bezier(0.7, -0.13, 0.22, 0.86) infinite; } .la-ball-rotate > div:before, .la-ball-rotate > div:after { position: absolute; width: inherit; height: inherit; margin: inherit; content: ""; background: currentColor; border-radius: inherit; opacity: 0.8; } .la-ball-rotate > div:before { top: 0; left: -150%; } .la-ball-rotate > div:after { top: 0; left: 150%; } .la-ball-rotate.la-sm { width: 4px; height: 4px; } .la-ball-rotate.la-sm > div { width: 4px; height: 4px; } .la-ball-rotate.la-2x { width: 20px; height: 20px; } .la-ball-rotate.la-2x > div { width: 20px; height: 20px; } .la-ball-rotate.la-3x { width: 30px; height: 30px; } .la-ball-rotate.la-3x > div { width: 30px; height: 30px; } /* * Animation */ @keyframes ball-rotate-animation { 0% { transform: rotate(0deg); } 50% { transform: rotate(180deg); } 100% { transform: rotate(360deg); } }