CodeNewbie Community

Discussion on: [On-Demand Talk] This Box Will Change Your Life

Collapse
lucecarter profile image
Luce Carter

In your journey learning CSS, what would you say has been your biggest lightbulb moment aside from the box model?

Collapse
whitep4nth3r profile image
@whitep4nth3r Author • Edited on

CSS grid has changed the game. I recently discovered grid template areas — and gone are the days of sorting your HTML into rows and columns to mock grid layouts in your markup — just define your grid-areas on your individual elements and kind of visually construct your grid with some lines of CSS. It’s SO powerful and I don’t think people are talking about it enough. No more adding random inner containers to sort things and change the order of things throughout your CSS. Just define the layout of your grid in words in a line of CSS.