The CSS Grid specification introduced a new unit for CSS. This is the
fr unit and if you already use flexbox you’ll see it behaves in a similar way to how
flex-grow behaves when you set
The spec describes the
fr unit as,
“A flexible length or
is a dimension with the fr unit, which represents a fraction of the free space in the grid container."
In this video from my video series, find out how to use the
I’m sharing some tips to help you learn Grid Layout from the 1st of December until Christmas. Edited highlights from the things on this site and that I’ve posted elsewhere. Follow along!