Min & Max Content Sizing in CSS Grid — 1/3 Flexibility

Опубликовано: 29 Сентябрь 2024
на канале: Layout Land
61,663
1.9k

CSS Grid changes the way flexibility works on the web. When there is more or less space available, Grid allows us to precisely design how content moves. Using simple percent-based widths is not the only option anymore. In the first of a three-part series, Jen explains how to use min-content and max-content to size Grid tracks.

Demos:
• Der Film — https://labs.jensimmons.com/2017/02-0...
• Jan Tschichold — https://labs.jensimmons.com/2017/01-0...