OLD | NEW |
| (Empty) |
1 <html> | |
2 <style> | |
3 div | |
4 { | |
5 width: 100px; | |
6 height: 100px; | |
7 margin: 10px; | |
8 } | |
9 </style> | |
10 <!--The first cross-fade should appear as a 100% green square, 100x100px.--> | |
11 <div style="background-image: -webkit-cross-fade(url(resources/red-10.png), url(
resources/green-10.png), 100%);"></div> | |
12 <!--The second cross-fade should appear as a 100% green square, 100x100px.--> | |
13 <div style="background-image: -webkit-cross-fade(url(resources/green-100.png), u
rl(resources/red-100.png), 0%);"></div> | |
14 <!--The third cross-fade should appear as a blue-green square, 100x100px.--> | |
15 <div style="background-image: -webkit-cross-fade(url(resources/blue-100.png), ur
l(resources/green-100.png), 50%);"></div> | |
16 </html> | |
OLD | NEW |