Render Flow - First-child and last-child targeting
Read HTML list
Create list item nodes
Identify first-child and last-child
Apply Tailwind first: and last: styles
Render styles on matching elements
Paint and Composite
The browser reads the HTML list, builds the list item elements, then applies Tailwind's first-child and last-child styles to the matching items before painting the final styled list.