5.5-70%
CSS Generated content for pseudo-elements
BaselineWidely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since January 2018.
Method of displaying text or images before or after the given element's contents using the ::before and ::after pseudo-elements. All browsers with support also support the attr() notation in the content property.
IE
Edge
Firefox
Chrome
Safari
Safari iOS
Opera Mini
Chrome Android
Android Browser
Samsung Internet
✓Supported
✗Not supported
Partial support