Stop to use display: block for pseudo-elements when using flexbox
cssisntmagic.substack.com
Are you used to defining display: block for ::before or ::after? Folks, there is no need to make it if you define display: grid to the parent. Browsers make it themselves π β€ Thank you so much, my sponsors: Tatiana Ten
Stop to use display: block for pseudo-elements when using flexbox
Stop to use display: block forβ¦
Stop to use display: block for pseudo-elements when using flexbox
Are you used to defining display: block for ::before or ::after? Folks, there is no need to make it if you define display: grid to the parent. Browsers make it themselves π β€ Thank you so much, my sponsors: Tatiana Ten