| 1 |
a { |
| 2 |
-webkit-transition: color 200ms, -webkit-transform 200ms; |
| 3 |
transition: color 200ms, -webkit-transform 200ms; |
| 4 |
-o-transition: color 200ms, -o-transform 200ms; |
| 5 |
transition: color 200ms, transform 200ms; |
| 6 |
transition: color 200ms, transform 200ms, -webkit-transform 200ms, -o-transform 200ms; |
| 7 |
-webkit-transform: rotate(10deg); |
| 8 |
-o-transform: rotate(10deg); |
| 9 |
transform: rotate(10deg); |
| 10 |
} |
| 11 |
|
| 12 |
div { |
| 13 |
-webkit-transition-property: -webkit-filter; |
| 14 |
transition-property: -webkit-filter; |
| 15 |
-o-transition-property: filter; |
| 16 |
transition-property: filter; |
| 17 |
transition-property: filter, -webkit-filter; |
| 18 |
-webkit-animation-name: rotating; |
| 19 |
-o-animation-name: rotating; |
| 20 |
animation-name: rotating; |
| 21 |
} |
| 22 |
|
| 23 |
.good { |
| 24 |
-webkit-transition-property: -webkit-filter; |
| 25 |
transition-property: -webkit-filter; |
| 26 |
-o-transition-property: filter; |
| 27 |
transition-property: filter; |
| 28 |
transition-property: filter, -webkit-filter; |
| 29 |
-webkit-transition-duration: 1s; |
| 30 |
-o-transition-duration: 1s; |
| 31 |
transition-duration: 1s; |
| 32 |
} |
| 33 |
|
| 34 |
.good2 { |
| 35 |
-webkit-transition-property: color, -webkit-filter; |
| 36 |
transition-property: color, -webkit-filter; |
| 37 |
-o-transition-property: color, filter; |
| 38 |
transition-property: color, filter; |
| 39 |
transition-property: color, filter, -webkit-filter; |
| 40 |
-webkit-transition-timing-function: cubic-bezier(0.55, 0, 0.1, 1); |
| 41 |
-o-transition-timing-function: cubic-bezier(0.55, 0, 0.1, 1); |
| 42 |
transition-timing-function: cubic-bezier(0.55, 0, 0.1, 1); |
| 43 |
} |
| 44 |
|
| 45 |
.bad { |
| 46 |
|
| 47 |
-webkit-transition-property: color, -webkit-filter; |
| 48 |
transition-property: color, -webkit-filter; |
| 49 |
-o-transition-property: color, filter; |
| 50 |
transition-property: color, filter; |
| 51 |
transition-property: color, filter, -webkit-filter; |
| 52 |
-webkit-transition-duration: 1s, 2s; |
| 53 |
-o-transition-duration: 1s, 2s; |
| 54 |
transition-duration: 1s, 2s; |
| 55 |
} |
| 56 |
|
| 57 |
.revert { |
| 58 |
-webkit-transition: 200ms -webkit-transform; |
| 59 |
transition: 200ms -webkit-transform; |
| 60 |
-o-transition: 200ms -o-transform; |
| 61 |
transition: 200ms transform; |
| 62 |
transition: 200ms transform, 200ms -webkit-transform, 200ms -o-transform; |
| 63 |
} |