Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
April 21, 2020 02:43 pm GMT

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:    Share on Facebook
View Full Article

CSS Tricks

A Web Design Community curated by Chris Coyier

More About this Source Visit CSS Tricks