A Little Reminder That Pseudo Elements are Children, Kinda.

added by JavaScript Kicks
7/9/2019 7:27:22 AM

294 Views

Here's a container with some child elements: item item item If I do: .container::before { content: "x" } I'm essentially doing: [[[ ::before psuedo-element here ]]] item item item Which will behave just like a child element mostly.


0 comments