Created
April 21, 2012 21:16
-
-
Save marek-saji/2439636 to your computer and use it in GitHub Desktop.
Android 2.x does not animate css with position fixed?
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
/** | |
* 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); } | |
} |
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="a">A</div> | |
<div class="b">B</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
{"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