Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <!DOCTYPE html> | |
| 2 <style> | |
| 3 .animatedBackground { | |
| 4 width: 70px; | |
| 5 height: 80px; | |
| 6 position: absolute; | |
| 7 background: url("./shine.png") no-repeat 0 0 transparent; | |
| 8 background-color: red; | |
| 9 animation: shineSmall 4s steps(6) infinite | |
|
chrishtr
2016/01/21 22:49:18
Instead of an animated image, how about an infinit
wkorman
2016/01/22 00:19:56
Assert failure does not repro with a rotating squa
| |
| 10 } | |
| 11 | |
| 12 .transformedItem { | |
| 13 transform: translate3d(42px, 43px, 0); | |
| 14 width: 40px; | |
| 15 height: 50px; | |
| 16 background-color: green; | |
| 17 } | |
| 18 | |
| 19 @keyframes shineSmall { | |
| 20 100% { | |
| 21 background-position: 9px 10px | |
| 22 } | |
| 23 } | |
| 24 </style> | |
| 25 <div class="animatedBackground"></div> | |
| 26 <div class="transformedItem"></div> | |
| OLD | NEW |