DEV Community

Discussion on: Never make your text container a flexbox container

Collapse
 
afif profile image
Temani Afif

yes it's should be ok because you are already describing two boxes (a div and span) and your text will be inside the span. If it's a div + some text then you may face some strange issues until you wrap the text inside its own box

Some comments have been hidden by the post's author - find out more