blob: 4ee194bc638a1f29cb0bcca0828115a822e1b2d8 [file] [log] [blame]
<html>
<style>
div
{
width: 100px;
height: 100px;
margin: 10px;
background-repeat: no-repeat;
}
</style>
<!--The first cross-fade should appear as a 100% green square, 10x10px.-->
<div style="background-image: -webkit-cross-fade(url(resources/red-100.png), url(resources/green-10.png), 100%);"></div>
<!--The second cross-fade should appear as a 100% green square, 100x100px.-->
<div style="background-image: -webkit-cross-fade(url(resources/green-100.png), url(resources/red-10.png), 0%);"></div>
<!--The third cross-fade should appear as a blue-green square, 55x55px.-->
<div style="background-image: -webkit-cross-fade(url(resources/blue-100.png), url(resources/green-10.png), 50%);"></div>
</html>