CSS content property

CSS content

Contents added using content property are anonymous replaced elements, which are not affected by the current web page style.

CSS content property can be used along with the pseudo elements like ::before and ::after.

Example

Try Yourself