> It's pretty amazing what you can do with the pseudo elements :before and :after. For every element on the page, you get two more free ones that you can do just about anything another HTML element could do. They unlock a whole lot of interesting design possibilities without negatively affecting the semantics of your markup. Here's a whole bunch of those amazing things. A roundup, if you will.
Card A Whole Bunch of Amazing Stuff Pseudo Elements Can Do | CSS-Tricks added the to the 前端/HTML/JS/CSS/vuejs list in the 遇见 board at
June 1, 2020 at 05:31PM
> It's pretty amazing what you can do with the pseudo elements :before and :after. For every element on the page, you get two more free ones that you can do just about anything another HTML element could do. They unlock a whole lot of interesting design possibilities without negatively affecting the semantics of your markup. Here's a whole bunch of those amazing things. A roundup, if you will.
---
View on Trello