pseudo-element
::prefix — CSS reference
Draft sub-pseudo-element for preceding punctuation associated with the first letter. It is not an independently generated ::before/::after box. Explicit span markup can style known punctuation without relying on automatic first-letter extraction; this is not a general algorithmic replacement.
Formal Syntax & Structure
css syntaxcss
p::first-letter::prefixWorking Example
Example Snippetcss
<!doctype html><html lang="en"><meta charset="utf-8"><title>::prefix</title><style>body{margin:0;background:white}#a{box-sizing:border-box}#a span{color:red}p::first-letter::prefix{color:red}</style><body><p id="a"><span>“</span>A new day.</p></body></html>