An Interest In:
Web News this Week
- April 29, 2024
- April 28, 2024
- April 27, 2024
- April 26, 2024
- April 25, 2024
- April 24, 2024
- April 23, 2024
April 21, 2020 02:43 pm GMT
Original Link: https://ethanmarcotte.com/wrote/css-grid-without-max-width/
Constrained CSS grids without `max-width`
Ain’t nothing wrong with max-width
, but Ethan makes a point in the last sentence:
Rather than simply defaulting to
max-width
as a constraint, I can use the empty space around my design, and treat it as a layout tool.
If the space “around” your grid is actually part of the grid, it’s easier to use. Maybe you’d decide to scootch some author information up there after all, or show an ad, or who knows what. It will be more … Read article “Constrained CSS grids without `max-width`”
The post Constrained CSS grids without `max-width` appeared first on CSS-Tricks.
Original Link: https://ethanmarcotte.com/wrote/css-grid-without-max-width/
Share this article:
Tweet
View Full Article