Source Code: (back to article)
<!DOCTYPE html>
<html>
<head>
<style>
div {
height: 300px;
background-image: linear-gradient(#eee, #1c87c9 );
}
</style>
</head>
<body>
<h2>Linear gradient comme une image du fond</h2>
<p>Ce gradient linéaire commence en haut. Cela commence gris, en transition à bleu:</p>
<div></div>
</body>
</html>