Change the color of the box shadow to "grey", and set a "5px" blur. - HTML CSS CSS

HTML CSS examples for CSS:Quiz

Description

Change the color of the box shadow to "grey", and set a "5px" blur.

Demo Code

ResultView the demo in separate window

<!DOCTYPE html>
<html>
<head>
<style>
div {<!--  w  ww . j  av  a  2 s  . co m-->
    box-shadow: 10px 10px 5px grey;
}
</style>
</head>
<body>

<div style="background-color: pink; width: 350px; padding: 15px;">
<h1>This is a Heading</h1>
<p>This is a paragraph.</p>
<p>This is another paragraph.</p>
</div>

</body>
</html>

Related Tutorials