Skip to content

Instantly share code, notes, and snippets.

@marciobarrios
Created December 15, 2012 22:26
Show Gist options
  • Save marciobarrios/4299877 to your computer and use it in GitHub Desktop.
Save marciobarrios/4299877 to your computer and use it in GitHub Desktop.
A try to create the Gmail 2 loader for ios (in progress)
/**
* 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 {
}
<i><i>Loading...<i></i>
// alert('Hello world!');
{"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