What is text-shadow in CSS?
Text-shadow adds shadow effects to your text characters. Unlike box-shadow which hits the whole element box, text-shadow follows each letter's shape precisely. You'll see it on headings, logos, decorative text—anywhere you want depth or emphasis.
Syntax is simple: text-shadow: h-offset v-offset blur color. Try text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5) for a subtle shadow 2px right and down with 4px blur. Works with every font.