Text Shadows in CSS
I've always liked shadows as a way to give depth to content that would otherwise be flat and uninspiring.
My first approach at creating shadows in CSS was to use box-shadow, primarily in title boxes where the entire container would have a shadow and not the individual laters.
text-shadow does the same thing for text that
box-shadow does for boxes.
As presented in the example below, the four values for the
text-shadow property are:
text-shadow: 8px 4px 2px darkgrey;
Shadows are a nice way to provide depth to content that would normally be flat.
text-shadow does this for text and it makes for more dynamic text.