Stop to use display: block for pseudo-elements when using flexbox
cssisntmagic.substack.com
Don't add display: block to pseudo-elements if you use flexbox⛔Browsers make it themselves since after adding display: flex to the item they check a value of the display property of its child💡If it's the inline value it changes to the block☝️ P.S. ❤ Thank you so much, my sponsors: Ben Rinehart, Tanya Ten, Konstantinos Kapenekakis
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
Don't add display: block to pseudo-elements if you use flexbox⛔Browsers make it themselves since after adding display: flex to the item they check a value of the display property of its child💡If it's the inline value it changes to the block☝️ P.S. ❤ Thank you so much, my sponsors: Ben Rinehart, Tanya Ten, Konstantinos Kapenekakis