Interactive online courses HTML Academy
2026-03-09 14:10 Diff

Let’s take a closer look at the text shadow parameters:

text-shadow: 0px 0px 0px #333333;

The first parameter of the text-shadow property is mandatory, and it is responsible for setting the horizontal offset of the shadow relative to the text. A positive value for this parameter shifts the shadow to the right, whereas a negative value shifts it to the left.

The offset can be set in absolute or relative units: px, em, pt, and others.

Let’s try to change the value of the first parameter.