12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879 |
- .load {
- width: 100px;
- height: 100px;
- position: relative;
- margin: 0 auto;
- margin-top: 100px;
- }
- .load span {
- display: inline-block;
- width: 17px;
- height: 17px;
- border-radius: 50%;
- background: #b6b3b5;
- position: absolute;
- -webkit-animation: load 1.04s ease infinite;
- }
- @-webkit-keyframes load {
- 0% {
- opacity: 1;
- }
- 100% {
- opacity: 0.2;
- }
- }
- .load span:nth-child(1) {
- left: 0;
- top: 50%;
- margin-top: -8px;
- -webkit-animation-delay: 0.13s;
- }
- .load span:nth-child(2) {
- left: 15px;
- top: 15px;
- -webkit-animation-delay: 0.26s;
- }
- .load span:nth-child(3) {
- left: 50%;
- top: 0;
- margin-left: -8px;
- -webkit-animation-delay: 0.39s;
- }
- .load span:nth-child(4) {
- top: 15px;
- right: 15px;
- -webkit-animation-delay: 0.52s;
- }
- .load span:nth-child(5) {
- right: 0;
- top: 50%;
- margin-top: -8px;
- -webkit-animation-delay: 0.65s;
- }
- .load span:nth-child(6) {
- right: 15px;
- bottom: 15px;
- -webkit-animation-delay: 0.78s;
- }
- .load span:nth-child(7) {
- bottom: 0;
- left: 50%;
- margin-left: -8px;
- -webkit-animation-delay: 0.91s;
- }
- .load span:nth-child(8) {
- bottom: 15px;
- left: 15px;
- -webkit-animation-delay: 1.04s;
- }
|