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

The shadow color can be set using any CSS-supported color format. If the shadow color is not specified, then it is taken from the text color of the element with the shadow. This is why in the current assignment the original shadow color is yellow.

box-shadow: [inset] — internal 5px — x-offset 10px — y-offset [2px] — feathering [3px] — stretch [red]; <— color

The shadow color is a powerful tool in the hands of a skilled designer, who can use it to create expressive effects.