<html>
<head>
<style>
#grad1 {
height: 200px;
background-image: linear-gradient(to bottom right, red , blue);
}
</style>
</head>
<body>
<h3>Linear Gradient - Diagonal</h3>
<p>This linear gradient starts at top left. It starts red, transitioning to blue:</p>
<div id="grad1"></div>
<p><strong>Note:</strong> Internet Explorer 9 and earlier versions do not support gradients.</p>
</body>
<!-- Mirrored from www.w3schools.com/cssref/tryit.asp?filename=trycss3_gradient-linear_diagonal by HTTrack Website Copier/3.x [XR&CO'2014], Mon, 27 Jan 2020 03:12:54 GMT -->
</html>