background-color: blue;
-webkit-animation-duration: 10s;
-webkit-animation-timing-function: linear;
- -webkit-animation-name: "anim";
+ -webkit-animation-name: anim;
}
- @-webkit-keyframes "anim" {
- from { -webkit-transform: rotate(0deg); }
- to { -webkit-transform: rotate(360deg); }
+ @-webkit-keyframes anim {
+ from { transform: rotate(0deg); }
+ to { transform: rotate(360deg); }
}
#box1 {
left: 40px;