Heard a dev say "I just fight the browser less now" at a meetup in Austin, and it finally clicked why my 300-line grid layouts kept breaking | CSS Battle Tactics - The Design Community Hub
Heard a dev say "I just fight the browser less now" at a meetup in Austin, and it finally clicked why my 300-line grid layouts kept breaking
Turns out leaning on things like `minmax()` with `auto-fit` did in 4 lines what my old media query stack never got right, so what is the one CSS property you stopped fighting and just started trusting?
Grid templates with auto-fit and minmax changed everything for me too, just set it and let the browser figure out the columns. Flexbox for one direction, grid for two, and I stopped writing breakpoints for basic layouts.