Set a radial gradient background for the <div> element, transitioning from "white" to "green". - HTML CSS CSS

HTML CSS examples for CSS:Quiz

Description

Set a radial gradient background for the <div> element, transitioning from "white" to "green".

Demo Code

ResultView the demo in separate window

<!DOCTYPE html>
<html>
<head>
<style>
div {<!--   ww  w  . java  2  s  .  c om-->
    background: radial-gradient(white, green);
}
</style>
</head>
<body>

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

</body>
</html>

Related Tutorials