Web features explorer

Content

Widely available
Tags: css Groups: CSS

The content CSS property sets the content inside of an element or pseudo-element, replacing the current value. It's often used with the ::before and ::after pseudo-elements to generate cosmetic content. To learn more, see content, <string> at MDN.

Compatibility