When is using display: block for ::before or ::after unnecessary?
Folks, did you define display: flex or display: inline-flex to the parent? Yeap? Stop defining display: block for ::before or ::after. Browsers make it themselves 🙂
❤ Thank you so much, my sponsors: Tatiana Ten, Mikhail Ilin.