Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <!DOCTYPE html> | |
|
chrishtr
2016/01/28 00:32:31
Rename file to composited-iframe-hidden-subframe.h
wkorman
2016/01/28 00:55:21
Done.
| |
| 2 <style> | |
| 3 .animatedBackground { | |
| 4 width: 70px; | |
| 5 height: 80px; | |
| 6 position: absolute; | |
| 7 background: url("./shine.png") no-repeat 0 0 transparent; | |
|
chrishtr
2016/01/28 00:32:31
Try to use an existing infinitely animated gif. Th
wkorman
2016/01/28 00:55:21
Done. Took a 100x100 blue from another existing te
| |
| 8 background-color: red; | |
| 9 animation: shineSmall 4s steps(6) infinite; | |
| 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 |