DEV Community

Discussion on: Never make your text container a flexbox container

Collapse
 
qm3ster profile image
Mihail Malo

It semantically doesn't make sense to make a container for some text / text document / html markup a flexbox. It doesn't matter whether you can or cannot get away with it in a given situation (no links, no idiomatic, no bring to attention, no headers, no lists, no code, no tables, no citations...)
Document-type html is expected to live in a "Normal Flow" container (not flexbox or grid)

Collapse
 
afif profile image
Temani Afif

This is the main point of this post because I see everyone using flexbox everywhere so I hightlighted one issue to convince them to stop doing this.

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