DEV Community

ArthurJ
ArthurJ

Posted on

3

CSS Grid 201, let's get technical

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

AWS Security LIVE!

Join us for AWS Security LIVE!

Discover the future of cloud security. Tune in live for trends, tips, and solutions from AWS and AWS Partners.

Learn More

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay