Last active
December 8, 2016 19:59
-
-
Save lgarron/47496c1035ae5d20754999ddc3fe9be0 to your computer and use it in GitHub Desktop.
Untitled
This file contains 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
html, body { | |
height: 100%; | |
display: flex; | |
align-items: center; | |
justify-content: center; | |
font-family: Tahoma, sans-serif; | |
font-weight: bold; | |
} | |
.all { | |
font-size: 5vw; | |
animation: spinnerRotate 5s linear infinite; | |
} | |
.all span.A, | |
.all span.P { | |
display: inline-block; | |
animation: antiRotate 5s linear infinite; | |
} | |
.all span.M { | |
display: inline-block; | |
animation: mRotate 5s linear infinite; | |
} | |
@keyframes spinnerRotate { | |
0% { transform:rotate(0deg); } | |
25% { transform:rotate(0deg); } | |
50% { transform:rotate(180deg); } | |
75% { transform:rotate(180deg); } | |
100% { transform:rotate(360deg); } | |
} | |
@keyframes antiRotate { | |
0% { transform:rotate(0deg); } | |
25% { transform:rotate(0deg); } | |
50% { transform:rotate(-180deg); } | |
75% { transform:rotate(-180deg); } | |
100% { transform:rotate(-360deg); } | |
} | |
@keyframes mRotate { | |
0% { transform:translateY(0px); } | |
25% { transform:translateY(0px); } | |
50% { transform:translateY(-2px); } | |
75% { transform:translateY(-2px); } | |
100% { transform:translateY(0px); } | |
} |
This file contains 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="all"> | |
<span class="A">A</span> | |
<span class="M">M</span> | |
<span class="P">P</span> | |
</div> |
This file contains 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 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":"split","fontsize":"100","seethrough":"","prefixfree":"1","page":"html"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment