Baseline Widely other

::before and ::after

The ::before and ::after CSS pseudo-elements select inline boxes preceding and following an element. They are often used with the content property to generate cosmetic content.

Baseline Status
Widely Available
Since 2015-07-29
First Core Launch
Firefox 1.5
2005-11-29
Core-3 Stability
1,287d (3.5y)
Last: Safari (2009-06-08)
BCD Keys Mapped
4
Group: other

Browser Support Timeline

Firefox v1.5 (2005-11-29) Chrome v1 (2008-12-11) Safari v4 (2009-06-08) Safari on iOS v3.2 (2010-04-03) Firefox for Android v4 (2011-03-29) Chrome Android v18 (2012-06-27) Edge v12 (2015-07-29)
Green dot marks the first browser release (2005-11-29); blue dots show subsequent browser launches (+3529d total span).

Browser Support Releases

BrowserTypeVersionRelease Date
Firefox desktop 1.5 2005-11-29
Chrome desktop 1 2008-12-11
Safari desktop 4 2009-06-08
Safari on iOS mobile 3.2 2010-04-03
Firefox for Android mobile 4 2011-03-29
Chrome Android mobile 18 2012-06-27
Edge desktop 12 2015-07-29

Constituent MDN BCD Keys (Sample)

BCD KeyAreaCore-3 TTA
css.selectors.after CSS 1,287d (3.5y)
css.selectors.after.animation_and_transition_support CSS 945d (2.6y)
css.selectors.before CSS 1,287d (3.5y)
css.selectors.before.animation_and_transition_support CSS 945d (2.6y)