Set a linear gradient background for the <div> element, going at a 70 degree angle, transitioning from "white" to "green". - HTML CSS CSS

HTML CSS examples for CSS:Quiz

Description

Set a linear gradient background for the <div> element, going at a 70 degree angle, transitioning from "white" to "green".

Demo Code

ResultView the demo in separate window

<!DOCTYPE html>
<html>
<head>
<style>
div {<!--from   w w w.  java  2 s .c  o  m-->
    background: linear-gradient(70deg, white, green);
}
</style>
</head>
<body>

<div style="height:200px"></div>

</body>
</html>

Related Tutorials