CSS Pseudo-Elements Module
E856238
The CSS Pseudo-Elements Module is a W3C specification that defines the syntax and behavior of pseudo-elements like ::before and ::after, enabling authors to style and insert generated content into specific parts of elements.
Statements (47)
| Predicate | Object |
|---|---|
| instanceOf |
CSS module
ⓘ
W3C specification ⓘ technical standard ⓘ |
| clarifies | legacy single-colon pseudo-element syntax compatibility ⓘ |
| defines |
cascading and inheritance rules for pseudo-elements
ⓘ
double-colon pseudo-element notation ⓘ how pseudo-elements interact with generated content ⓘ how pseudo-elements interact with hit-testing ⓘ how pseudo-elements interact with layout ⓘ how pseudo-elements interact with painting ⓘ how pseudo-elements participate in the box tree ⓘ |
| definesBehaviorFor | CSS pseudo-elements NERFINISHED ⓘ |
| definesConcept | CSS pseudo-element ⓘ |
| definesSyntaxFor | CSS pseudo-elements ⓘ |
| distinguishesFrom | CSS pseudo-classes ⓘ |
| enables |
insertion of generated content
ⓘ
styling of specific parts of elements ⓘ |
| hasVersion |
CSS Pseudo-Elements Level 3
NERFINISHED
ⓘ
CSS Pseudo-Elements Level 4 NERFINISHED ⓘ |
| partOf |
CSS Level 3
NERFINISHED
ⓘ
CSS Level 4 NERFINISHED ⓘ |
| publishedBy | World Wide Web Consortium NERFINISHED ⓘ |
| relatedTo |
Selectors Level 3
NERFINISHED
ⓘ
Selectors Level 4 NERFINISHED ⓘ |
| shortName | css-pseudo NERFINISHED ⓘ |
| specifiesPseudoElement |
::after
ⓘ
::backdrop ⓘ ::before ⓘ ::cue ⓘ ::cue-region ⓘ ::file-selector-button ⓘ ::first-letter ⓘ ::first-line ⓘ ::grammar-error ⓘ ::marker ⓘ ::part() ⓘ ::placeholder ⓘ ::selection ⓘ ::slotted() ⓘ ::spelling-error ⓘ ::target-text ⓘ |
| status | W3C Candidate Recommendation (for some levels/editions) ⓘ |
| usedFor |
styling form control subparts
ⓘ
styling generated content ⓘ styling media text tracks ⓘ styling shadow DOM parts ⓘ styling typographic fragments ⓘ |
Referenced by (1)
Full triples — surface form annotated when it differs from this entity's canonical label.