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

HTML CSS examples for CSS:Quiz

Description

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

Demo Code

ResultView the demo in separate window

<!DOCTYPE html>
<html>
<head>
<style>
div {<!--  w  w w .  j  a v a 2 s .  c o m-->
    background: radial-gradient(circle, white, green);
}
</style>
</head>
<body>

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

</body>
</html>

Related Tutorials