Render Flow - After pseudo-element
Parse CSS selector with ::after
Create virtual ::after element
Apply styles to ::after
Insert ::after content after element's content
Layout including ::after
Paint ::after
Composite final page
The browser reads the CSS selector with ::after, creates a virtual element after the target element's content, applies styles, and includes it in layout and painting.