Topic: CSS Basics

Text shadow – CSS

Preview

To add a shadow to an element’s text using CSS, use the text-shadow property:

text-shadow: 1px 1px 1px green;

To view this and the other 300+ tutorials on Simple Dev, sign up for a 10-day free trial.