123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778 |
- .lds-spinner {
- color: official;
- display: inline-block;
- position: relative;
- width: 64px;
- height: 64px;
- }
- .lds-spinner view {
- transform-origin: 32px 32px;
- animation: lds-spinner 1.2s linear infinite;
- }
- .lds-spinner view:after {
- content: " ";
- display: block;
- position: absolute;
- top: 3px;
- left: 29px;
- width: 5px;
- height: 14px;
- border-radius: 20%;
- background: #42b983;//可修改颜色
- }
- .lds-spinner view:nth-child(1) {
- transform: rotate(0deg);
- animation-delay: -1.1s;
- }
- .lds-spinner view:nth-child(2) {
- transform: rotate(30deg);
- animation-delay: -1s;
- }
- .lds-spinner view:nth-child(3) {
- transform: rotate(60deg);
- animation-delay: -0.9s;
- }
- .lds-spinner view:nth-child(4) {
- transform: rotate(90deg);
- animation-delay: -0.8s;
- }
- .lds-spinner view:nth-child(5) {
- transform: rotate(120deg);
- animation-delay: -0.7s;
- }
- .lds-spinner view:nth-child(6) {
- transform: rotate(150deg);
- animation-delay: -0.6s;
- }
- .lds-spinner view:nth-child(7) {
- transform: rotate(180deg);
- animation-delay: -0.5s;
- }
- .lds-spinner view:nth-child(8) {
- transform: rotate(210deg);
- animation-delay: -0.4s;
- }
- .lds-spinner view:nth-child(9) {
- transform: rotate(240deg);
- animation-delay: -0.3s;
- }
- .lds-spinner view:nth-child(10) {
- transform: rotate(270deg);
- animation-delay: -0.2s;
- }
- .lds-spinner view:nth-child(11) {
- transform: rotate(300deg);
- animation-delay: -0.1s;
- }
- .lds-spinner view:nth-child(12) {
- transform: rotate(330deg);
- animation-delay: 0s;
- }
- @keyframes lds-spinner {
- 0% {
- opacity: 1;
- }
- 100% {
- opacity: 0;
- }
- }
|