Gradiente lineare - Da sinistra a destra




https://www.w3schools.com/css/tryit.asp?filename=trycss3_gradient-linear_ltr


<!DOCTYPE html>
<html>
<head>
<style>
#grad1 {
height: 200px;
background-color: red; /* For browsers that do not support gradients */
background-image: linear-gradient(to right, red , yellow); /* Standard syntax (must be last) */
}
</style>
</head>
<body>

<h1>Linear Gradient - Left to Right</h1>
<p>This linear gradient starts at the left. It starts red, transitioning to yellow:</p>

<div id="grad1"></div>

<p><strong>Note:</strong> Internet Explorer 9 and earlier versions do not support gradients.</p>

</body>
</html>










( gradientelinearedasinistraadestra.html )- by Paolo Puglisi - Modifica del 17/12/2023