-
-
Save sonalien/31a79f8f8cc2f9b125d2da2e69e215be to your computer and use it in GitHub Desktop.
Untitled
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body{background:red} | |
.container{ | |
position: absolute; | |
left:50%; | |
top:50%; | |
} | |
.circle{ | |
width:15px; | |
height:15px; | |
background: #fff; | |
border-radius: 50%; | |
position:absolute; | |
animation: ani 2s linear infinite; | |
} | |
.circle:nth-child(2){ | |
animation-delay: -0.3s; | |
} | |
.circle:nth-child(3){ | |
animation-delay:-0.6s; | |
} | |
@keyframes ani{ | |
0%{transform-origin: 400% 50%; transform:rotate(0);} | |
50%{transform-origin:400% 50%; transform: rotate(360deg);} | |
50.1%{transform-origin:-300% 50%; transform:rotate(0deg);} | |
100%{transform-origin:-300% 50%; transform:rotate(-360deg);} | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="container"> | |
<div class="circle"></div> | |
<div class="circle"></div> | |
<div class="circle"></div> | |
</div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// alert('Hello world!'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"view":"separate","fontsize":"100","seethrough":"","prefixfree":"1","page":"all"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment