Add a new shadow to the <h1> element with: no horizontal or vertical shadow, 10px blur, and a red color. - HTML CSS CSS

HTML CSS examples for CSS:Quiz

Description

Add a new shadow to the <h1> element with: no horizontal or vertical shadow, 10px blur, and a red color.

Demo Code

ResultView the demo in separate window

<!DOCTYPE html>
<html>
<head>
<style>
h1 {<!--from  w ww. j a v a2 s .  c  o  m-->
    text-shadow: 2px 2px 5px green, 0 0 10px red;
}
</style>
</head>
<body>


<h1>This is a Heading</h1>
<p>This is a paragraph.</p>
<p>This is another paragraph.</p>

</body>
</html>

Related Tutorials