Created
December 15, 2012 22:26
-
-
Save marciobarrios/4299877 to your computer and use it in GitHub Desktop.
A try to create the Gmail 2 loader for ios (in progress)
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
/** | |
* A try to create the Gmail 2 loader for ios (in progress) | |
*/ | |
body { text-align: center; margin: 2em; } | |
i { | |
font: 0/0 a; | |
overflow: hidden; | |
position: relative; | |
display: inline-block; | |
width: 20px; | |
height: 20px; | |
border-radius: 20px; | |
background: red; | |
} | |
/* half circle */ | |
i>i { | |
content: ""; | |
position: absolute; | |
right: 0; | |
width: 10px; | |
height: inherit; | |
background: blue; | |
border-radius: 0 20px 20px 0; | |
transition: all 2s; | |
transform-origin: left; | |
} | |
i:hover>i { | |
} |
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
<i><i>Loading...<i></i> |
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":"all"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment