The text-shadow property adds shadow to text.In its simplest use, you only specify the horizontal shadow (2px) and the vertical shadow (2px):Text shadow effect!Example h1 { text-shadow: 2px 2px; } Try it Yourself » Next, add a color (red) to the shadow:Text shadow effect!