Permalink
Browse files

Minor fixes in merged animations demo (looks better in FF)

  • Loading branch information...
webpro committed Mar 20, 2012
1 parent b627257 commit 9f46a46fc1d43706068abc11174fae6d9be38b54
Showing with 6 additions and 5 deletions.
  1. +6 −5 css3/merged-animations-transforms.html
@@ -22,13 +22,14 @@
margin: 0;
padding: 1em 0;
height: 100%;
- overflow: scroll;
+ overflow-y: auto;
color: #aaa;
}
/* Canvas/stage styles */
.stage {
+ position: relative;
width: 100%;
height: 400px;
background-color: #EEE;
@@ -183,8 +184,8 @@ <h2>Two</h2>
'animations': {
'rotateAside': {
0 : { 'transform': 'rotateY(0deg)' },
- 50 : { 'transform': 'rotateY(45deg)' },
- 100 : { 'transform': 'rotateY(90deg)' }
+ 50 : { 'transform': 'rotateY(35deg)' },
+ 100 : { 'transform': 'rotateY(70deg)' }
},
'moveLeft1': {
0 : { 'transform': 'translateX(0)' },
@@ -222,8 +223,8 @@ <h2>Two</h2>
'animations': {
'rotateAside': {
0 : { 'transform': 'rotateY(0deg)' },
- 50 : { 'transform': 'rotateY(45deg)' },
- 100 : { 'transform': 'rotateY(90deg)' }
+ 50 : { 'transform': 'rotateY(35deg)' },
+ 100 : { 'transform': 'rotateY(70deg)' }
},
'moveLeft1': {
0 : { 'transform': 'translateX(0)' },

0 comments on commit 9f46a46

Please sign in to comment.