pseudo elements

July 8, 2019

A Little Reminder That Pseudo Elements are Children, Kinda.

Here’s a container with some child elements: <div class="container"> <div>item</div> <div>item</div> <div>item</div> </div> If I do: .container::before { content: "x" } I’m essentially doing: <div class="container"> […]