123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377 |
- <style type="text/css">
- html, body {
- background: white;
- width: 100%;
- height: 100%;
- margin: 0;
- padding: 0;
- }
- .loader {
- position: absolute;
- width: 15rem;
- height: 15rem;
- left: 50%;
- top: 50%;
- -moz-transform: translateX(-50%) translateY(-50%) rotate(-90deg) scaleX(-1);
- -ms-transform: translateX(-50%) translateY(-50%) rotate(-90deg) scaleX(-1);
- -webkit-transform: translateX(-50%) translateY(-50%) rotate(-90deg) scaleX(-1);
- transform: translateX(-50%) translateY(-50%) rotate(-90deg) scaleX(-1);
- }
- .loader div {
- position: absolute;
- left: 0;
- width: 0.5rem;
- height: 0.5rem;
- background: white;
- border-radius: 1rem;
- opacity: 0;
- }
- .loader div:nth-child(1) {
- top: 0rem;
- background: #ffdd00;
- -moz-animation: dna_rotate 2s 0s infinite ease-in-out;
- -webkit-animation: dna_rotate 2s 0s infinite ease-in-out;
- animation: dna_rotate 2s 0s infinite ease-in-out;
- }
- .loader div:nth-child(2) {
- top: 0.6rem;
- background: black;
- -moz-animation: dna_rotate 2s 1.1s infinite ease-in-out;
- -webkit-animation: dna_rotate 2s 1.1s infinite ease-in-out;
- animation: dna_rotate 2s 1.1s infinite ease-in-out;
- }
- .loader div:nth-child(3) {
- top: 1.2rem;
- background: #ffdd00;
- -moz-animation: dna_rotate 2s 0.2s infinite ease-in-out;
- -webkit-animation: dna_rotate 2s 0.2s infinite ease-in-out;
- animation: dna_rotate 2s 0.2s infinite ease-in-out;
- }
- .loader div:nth-child(4) {
- top: 1.8rem;
- background: black;
- -moz-animation: dna_rotate 2s 1.3s infinite ease-in-out;
- -webkit-animation: dna_rotate 2s 1.3s infinite ease-in-out;
- animation: dna_rotate 2s 1.3s infinite ease-in-out;
- }
- .loader div:nth-child(5) {
- top: 2.4rem;
- background: #ffdd00;
- -moz-animation: dna_rotate 2s 0.4s infinite ease-in-out;
- -webkit-animation: dna_rotate 2s 0.4s infinite ease-in-out;
- animation: dna_rotate 2s 0.4s infinite ease-in-out;
- }
- .loader div:nth-child(6) {
- top: 3rem;
- background: black;
- -moz-animation: dna_rotate 2s 1.5s infinite ease-in-out;
- -webkit-animation: dna_rotate 2s 1.5s infinite ease-in-out;
- animation: dna_rotate 2s 1.5s infinite ease-in-out;
- }
- .loader div:nth-child(7) {
- top: 3.6rem;
- background: #ffdd00;
- -moz-animation: dna_rotate 2s 0.6s infinite ease-in-out;
- -webkit-animation: dna_rotate 2s 0.6s infinite ease-in-out;
- animation: dna_rotate 2s 0.6s infinite ease-in-out;
- }
- .loader div:nth-child(8) {
- top: 4.2rem;
- background: black;
- -moz-animation: dna_rotate 2s 1.7s infinite ease-in-out;
- -webkit-animation: dna_rotate 2s 1.7s infinite ease-in-out;
- animation: dna_rotate 2s 1.7s infinite ease-in-out;
- }
- .loader div:nth-child(9) {
- top: 4.8rem;
- background: #ffdd00;
- -moz-animation: dna_rotate 2s 0.8s infinite ease-in-out;
- -webkit-animation: dna_rotate 2s 0.8s infinite ease-in-out;
- animation: dna_rotate 2s 0.8s infinite ease-in-out;
- }
- .loader div:nth-child(10) {
- top: 5.4rem;
- background: black;
- -moz-animation: dna_rotate 2s 1.9s infinite ease-in-out;
- -webkit-animation: dna_rotate 2s 1.9s infinite ease-in-out;
- animation: dna_rotate 2s 1.9s infinite ease-in-out;
- }
- .loader div:nth-child(11) {
- top: 6rem;
- background: #ffdd00;
- -moz-animation: dna_rotate 2s 1s infinite ease-in-out;
- -webkit-animation: dna_rotate 2s 1s infinite ease-in-out;
- animation: dna_rotate 2s 1s infinite ease-in-out;
- }
- .loader div:nth-child(12) {
- top: 6.6rem;
- background: black;
- -moz-animation: dna_rotate 2s 2.1s infinite ease-in-out;
- -webkit-animation: dna_rotate 2s 2.1s infinite ease-in-out;
- animation: dna_rotate 2s 2.1s infinite ease-in-out;
- }
- .loader div:nth-child(13) {
- top: 7.2rem;
- background: #ffdd00;
- -moz-animation: dna_rotate 2s 1.2s infinite ease-in-out;
- -webkit-animation: dna_rotate 2s 1.2s infinite ease-in-out;
- animation: dna_rotate 2s 1.2s infinite ease-in-out;
- }
- .loader div:nth-child(14) {
- top: 7.8rem;
- background: black;
- -moz-animation: dna_rotate 2s 2.3s infinite ease-in-out;
- -webkit-animation: dna_rotate 2s 2.3s infinite ease-in-out;
- animation: dna_rotate 2s 2.3s infinite ease-in-out;
- }
- .loader div:nth-child(15) {
- top: 8.4rem;
- background: #ffdd00;
- -moz-animation: dna_rotate 2s 1.4s infinite ease-in-out;
- -webkit-animation: dna_rotate 2s 1.4s infinite ease-in-out;
- animation: dna_rotate 2s 1.4s infinite ease-in-out;
- }
- .loader div:nth-child(16) {
- top: 9rem;
- background: black;
- -moz-animation: dna_rotate 2s 2.5s infinite ease-in-out;
- -webkit-animation: dna_rotate 2s 2.5s infinite ease-in-out;
- animation: dna_rotate 2s 2.5s infinite ease-in-out;
- }
- .loader div:nth-child(17) {
- top: 9.6rem;
- background: #ffdd00;
- -moz-animation: dna_rotate 2s 1.6s infinite ease-in-out;
- -webkit-animation: dna_rotate 2s 1.6s infinite ease-in-out;
- animation: dna_rotate 2s 1.6s infinite ease-in-out;
- }
- .loader div:nth-child(18) {
- top: 10.2rem;
- background: black;
- -moz-animation: dna_rotate 2s 2.7s infinite ease-in-out;
- -webkit-animation: dna_rotate 2s 2.7s infinite ease-in-out;
- animation: dna_rotate 2s 2.7s infinite ease-in-out;
- }
- .loader div:nth-child(19) {
- top: 10.8rem;
- background: #ffdd00;
- -moz-animation: dna_rotate 2s 1.8s infinite ease-in-out;
- -webkit-animation: dna_rotate 2s 1.8s infinite ease-in-out;
- animation: dna_rotate 2s 1.8s infinite ease-in-out;
- }
- .loader div:nth-child(20) {
- top: 11.4rem;
- background: black;
- -moz-animation: dna_rotate 2s 2.9s infinite ease-in-out;
- -webkit-animation: dna_rotate 2s 2.9s infinite ease-in-out;
- animation: dna_rotate 2s 2.9s infinite ease-in-out;
- }
- .loader div:nth-child(21) {
- top: 12rem;
- background: #ffdd00;
- -moz-animation: dna_rotate 2s 2s infinite ease-in-out;
- -webkit-animation: dna_rotate 2s 2s infinite ease-in-out;
- animation: dna_rotate 2s 2s infinite ease-in-out;
- }
- .loader div:nth-child(22) {
- top: 12.6rem;
- background: black;
- -moz-animation: dna_rotate 2s 3.1s infinite ease-in-out;
- -webkit-animation: dna_rotate 2s 3.1s infinite ease-in-out;
- animation: dna_rotate 2s 3.1s infinite ease-in-out;
- }
- .loader div:nth-child(23) {
- top: 13.2rem;
- background: #ffdd00;
- -moz-animation: dna_rotate 2s 2.2s infinite ease-in-out;
- -webkit-animation: dna_rotate 2s 2.2s infinite ease-in-out;
- animation: dna_rotate 2s 2.2s infinite ease-in-out;
- }
- .loader div:nth-child(24) {
- top: 13.8rem;
- background: black;
- -moz-animation: dna_rotate 2s 3.3s infinite ease-in-out;
- -webkit-animation: dna_rotate 2s 3.3s infinite ease-in-out;
- animation: dna_rotate 2s 3.3s infinite ease-in-out;
- }
- .loader div:nth-child(25) {
- top: 14.4rem;
- background: #ffdd00;
- -moz-animation: dna_rotate 2s 2.4s infinite ease-in-out;
- -webkit-animation: dna_rotate 2s 2.4s infinite ease-in-out;
- animation: dna_rotate 2s 2.4s infinite ease-in-out;
- }
- .loader div:nth-child(26) {
- top: 15rem;
- background: black;
- -moz-animation: dna_rotate 2s 3.5s infinite ease-in-out;
- -webkit-animation: dna_rotate 2s 3.5s infinite ease-in-out;
- animation: dna_rotate 2s 3.5s infinite ease-in-out;
- }
- @-moz-keyframes dna_rotate {
- 0% {
- opacity: 1;
- -moz-transform: scale(1);
- transform: scale(1);
- left: 40%;
- z-index: 0;
- }
- 25% {
- opacity: 1;
- -moz-transform: scale(1.8);
- transform: scale(1.8);
- }
- 50% {
- opacity: 1;
- left: 60%;
- z-index: 1;
- -moz-transform: scale(1);
- transform: scale(1);
- }
- 75% {
- opacity: 1;
- -moz-transform: scale(0.5);
- transform: scale(0.5);
- }
- 100% {
- opacity: 1;
- left: 40%;
- z-index: 0;
- -moz-transform: scale(1);
- transform: scale(1);
- }
- }
- @-webkit-keyframes dna_rotate {
- 0% {
- opacity: 1;
- -webkit-transform: scale(1);
- transform: scale(1);
- left: 40%;
- z-index: 0;
- }
- 25% {
- opacity: 1;
- -webkit-transform: scale(1.8);
- transform: scale(1.8);
- }
- 50% {
- opacity: 1;
- left: 60%;
- z-index: 1;
- -webkit-transform: scale(1);
- transform: scale(1);
- }
- 75% {
- opacity: 1;
- -webkit-transform: scale(0.5);
- transform: scale(0.5);
- }
- 100% {
- opacity: 1;
- left: 40%;
- z-index: 0;
- -webkit-transform: scale(1);
- transform: scale(1);
- }
- }
- @keyframes dna_rotate {
- 0% {
- opacity: 1;
- -moz-transform: scale(1);
- -ms-transform: scale(1);
- -webkit-transform: scale(1);
- transform: scale(1);
- left: 40%;
- z-index: 0;
- }
- 25% {
- opacity: 1;
- -moz-transform: scale(1.8);
- -ms-transform: scale(1.8);
- -webkit-transform: scale(1.8);
- transform: scale(1.8);
- }
- 50% {
- opacity: 1;
- left: 60%;
- z-index: 1;
- -moz-transform: scale(1);
- -ms-transform: scale(1);
- -webkit-transform: scale(1);
- transform: scale(1);
- }
- 75% {
- opacity: 1;
- -moz-transform: scale(0.5);
- -ms-transform: scale(0.5);
- -webkit-transform: scale(0.5);
- transform: scale(0.5);
- }
- 100% {
- opacity: 1;
- left: 40%;
- z-index: 0;
- -moz-transform: scale(1);
- -ms-transform: scale(1);
- -webkit-transform: scale(1);
- transform: scale(1);
- }
- }
- </style>
- <div class='loader'>
- <div></div>
- <div></div>
- <div></div>
- <div></div>
- <div></div>
- <div></div>
- <div></div>
- <div></div>
- <div></div>
- <div></div>
- <div></div>
- <div></div>
- <div></div>
- <div></div>
- <div></div>
- <div></div>
- <div></div>
- <div></div>
- <div></div>
- <div></div>
- <div></div>
- <div></div>
- <div></div>
- <div></div>
- <div></div>
- <div></div>
- </div>
|