Created
August 3, 2015 04:12
-
-
Save ja6z/f39754f71ad3f5caa2b2 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
.loader { | |
width: 1em; | |
height: 1em; | |
border-radius: 50%; | |
background: transparent; | |
border-top: 0.2em solid #eeeeee; | |
border-right: 0.2em solid #eeeeee; | |
border-bottom: 0.2em solid #039BE5; | |
border-left: 0.2em solid #039BE5; | |
-webkit-animation: loader 700ms infinite linear; | |
-moz-animation: loader 700ms infinite linear; | |
-ms-animation: loader 700ms infinite linear; | |
-o-animation: loader 700ms infinite linear; | |
animation: loader 700ms infinite linear; | |
} | |
@-webkit-keyframes loader { | |
to { -webkit-transform: rotate(360deg); } | |
} | |
@-moz-keyframes loader { | |
to { -moz-transform: rotate(360deg); } | |
} | |
@-ms-keyframes loader { | |
to { -ms-transform: rotate(360deg); } | |
} | |
@-o-keyframes loader { | |
to { -o-transform: rotate(360deg); } | |
} | |
@keyframes loader { | |
to { transform: rotate(360deg); } | |
} | |
*{ | |
margin:0; | |
} |
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="loader"></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":"split","fontsize":"100","seethrough":"","prefixfree":"1","page":"css"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment