I have a .container div just after body that contains everything in page how to center it?

you are viewing a single comment's thread
view the rest of the comments
[–] 3 points 10 months ago

there are more aggressive css "resets" that set the default display type to flex. there's no problem making anything a flexbox if it displays the way you want it to

  • source
  • parent