Centering Fog

Authored on
Mon, 03/25/2024 - 15:33
Tags
Body

There is so much in this article that helped clear some of the fog of CSS Flex and CSS Grid for me. For some reason over the years, I kept going back to CSS Flex to center things because Grid would randomly "act weird". I thought it was something I was doing but Flex would center every time.

Cool to know the reason why. See the "Differences from Flexbox" section under "Centering with CSS Grid"

[Whole article]

Add new comment

Restricted HTML

  • Allowed HTML tags: <a href hreflang> <blockquote cite> <br> <cite> <code> <dd> <dl> <dt> <em> <h2> <h3> <h4> <h5> <h6> <li> <ol start type> <p> <strong> <ul type>
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.