CSS Pseudo-element ::after

Creates

A Pseudo-element for additional content, that is placed after the actual content of the element.

Description

Allows us to add content at the end of an element. The pseudo-element is an inline-element by default, but this can be changed with display:;.

Examples

Compatibility

Chrome Firefox Internet Explorer Opera Safari
2+ 3.5+ 8+ 6+ 1.3+




Comment