DEV Community

loading...

CSS Grid 201, let's get technical

ArthurJ
・1 min read

So last week, I presented my way of talking about CSS Grid, focused on being simple to understand and visual. This week, we are going to go a bit deeper under the hood!

As much as I think that using track numbers is unfriendly, it's still super useful to know how they work, especially before entering the "dynamic" part of the series next week.

You will find below a walk through of how to place items using the track lines, area lines, all the shorthands you will need and as a bonus, how to overlap items!

link to the full playlist here

Under the hood

Spanning multiple rows/columns

Using our named areas as tracks

Hooking to multiple areas and span across them

Overlapping items

Reduce code verbosity with shorthands

Discussion (0)