<?xml version="1.0" encoding="utf-8"?>

CSS text-shadow property

CSS text-shadow property

The correct property name is text-shadow. Like other CSS properties, it requires a semicolon at the end of the line. If you decide to add another shadow or a couple of shadows, put a comma each time after the color property, e.g.:

{

text-shadow: 1px 1px 2px red, 0 0 4px blue, 2px 2px 6px yellow;

}

Topics

From Lesson

Share

Improve your UX & Product skills with interactive courses that actually work