B.115. text-shadow

This property lets you create drop-shadow effects behind text. A drop-shadow is a copy of the text rendered behind the actual text of the element, usually offset from the element's position and in a different color, and possibly blurred, which simulates light hitting the text and casting a shadow against the element's background. This property lets you create multiple drop-shadows for a single piece of text to simulate multiple light sources.

Inherited: No

B.115.1. Value

The syntax for this is as shown here:

text-shadow: color
					xOffset
					yOffset
					blurRadius, color
					xOffset
					yOffset
					blurRadius

Each shadow is declared in a comma-separated sequence from bottom to top (i.e. the shadow declared last will be rendered over all the ...

Get HTML Utopia: Designing Without Tables Using CSS now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.