Easing layout with CSS ::before and ::after

Thet HmuuThet Hmuu
1 min read

We don't use ::before and ::after much. But with these use cases, they are pretty handy.

I created this pen on CodePen to visualize them.

https://codepen.io/thethmuu/pen/abKQwpX

0
Subscribe to my newsletter

Read articles from Thet Hmuu directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Thet Hmuu
Thet Hmuu

dev and instructor with simplicity in mind