Skip to content

Instantly share code, notes, and snippets.

@marek-saji
Created April 21, 2012 21:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marek-saji/2439636 to your computer and use it in GitHub Desktop.
Save marek-saji/2439636 to your computer and use it in GitHub Desktop.
Android 2.x does not animate css with position fixed?
/**
* Android 2.x does not animate css with position fixed?
*/
.a
{
border : #6f6 solid;
}
.b
{
border : #f66 solid;
right : 0;
position : fixed;
}
.a,
.b
{
transform : rotate(90deg);
animation : spin 4s infinite;
font : 4em/2em sans;
text-align : center;
width : 2em;
height : 2em;
}
@keyframes spin
{
0% { transform : rotate(0deg); }
100% { transform : rotate(360deg); }
}
<div class="a">A</div>
<div class="b">B</div>
{"view":"split-vertical","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