DEV Community

Discussion on: 3 ways to centre a div + life advice

Collapse
 
afif profile image
Temani Afif

it's not only a direction issue. Read my post and check the example I am using. The direction will not solve the problem of making a text container a flexbox container.

A lot of websites do this and a lot of them are wrong because a lot of tutorial are teaching things the bad way using flexbox like a magic tool when it's not suitable in many cases.