We would like to know how to create CSS3 linear-gradient.
<!DOCTYPE html>
<html>
<head>
<style type='text/css'>
body{<!--from ww w . ja v a 2 s . co m-->
background:#8ec1da -webkit-gradient(linear, 0 0, 0 300, from(#C9E3EF), to(#8ec1da)) no-repeat;
background:#8ec1da -moz-linear-gradient(center top, #C9E3EF, #8ec1da 300px) no-repeat;
height:300px;
}
</style>
</head>
<body>
</body>
</html>
The code above is rendered as follows: