Set a "10px" horizontal, and "10px" vertical, box shadow for the <div> element. - HTML CSS CSS

HTML CSS examples for CSS:Quiz

Description

Set a "10px" horizontal, and "10px" vertical, box shadow for the <div> element.

Demo Code

ResultView the demo in separate window

<!DOCTYPE html>
<html>
<head>
<style>
div {<!-- w w w  .ja va  2  s .co m-->
    box-shadow: 10px 10px;
}
</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