18 lines
706 B
HTML
18 lines
706 B
HTML
<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>
|