September 2025
Beginner to intermediate
371 pages
5h 55m
English
In Chapter 10, we looked at flexbox layouts in depth and have seen how powerful they can be. Still, there are limitations. Flexbox is a one-dimensional layout where items are arranged horizontally or vertically in rows or columns.
CSS Grid allows you to create two-dimensional grid-based layouts with rows and columns. It’s supported in all modern browsers.
Let’s start with the basic concepts of CSS Grid layouts.
The gridcontainer is the outer element that contains the grid layout. All its direct children are grid items. ...
Read now
Unlock full access