CSS Pseudo-Elements Module Level 4 by World Wide Web Consortium

ID: css-pseudo-elements-module-level-4-by-world-wide-web-consortium

Working Draft, 27 June 2025. Abstract and generated-content sections define pseudo-elements, including ::before/::after; typographic pseudo-elements include ::first-line. Use established examples and distinguish rendered pseudo-elements from ordinary DOM children.

New to topics? Read the docs here!