We've discussed a lot about the internals of using CSS in this ongoing series on web components, but there are a few special pseudo-elements and pseudo-classes that, like good friends, willingly smell your possibly halitotic breath before you go ...Web Component Pseudo-Classes and Pseudo-Elements are Easier Than You Think originally published on CSS-Tricks. You should get the newsletter.
CSS-Tricks is a Wisconsin-based learning website that publishes daily articles, videos and guides about CSS, HTML, JavaScript, web design and development.