Write an HTML code to display a heading with shadow along with a sentence below it.
Answers
Answered by
2
You can simply use the CSS text-shadow property to apply the shadow effect (like Photoshop drop-shadow style) on text elements. You can also apply more than one shadow (applied front-to-back) through providing a comma-separated list of shadows.
Each shadow is specified as an offset from the text (horizontal and vertical), along with the blur radius value and optional color value. Let's try out an example to see how it works
Attachments:
Similar questions