Making CSS from Good to Great

The Power of Subgrid

Chen Hui Jing / @hj_chen

🇲🇾 👾 🏀 🚲 🖌️ 👟 💻 🖊️ 🎙 🦊 🥑 🧗 🏳️‍🌈
Chen Hui Jing
Jing
@hj_chen
Nexmo Developer Relations

🥑 Developer Advocate 🥑

Nexmo

What is CSS Grid?

A two-dimensional grid-based layout system,
optimised for user interface design.

Why is Grid a good thing?

Grid is the only layout technique that establishes a relationship between rows and columns of grid items.

Using DevTools to learn Grid

Live demo QR code for link to example page

And this Subgrid thing?

Allows nested grids to participate in
the sizing of their parent grids

Using DevTools to learn Subgrid

Live demo QR code for link to example page

Improve DevTools for Grid in Chromium

Chromium bug tracker QR code for link to Chromium bug tracker

References

Thank you!

Websitehttps://www.chenhuijing.com

Twitter@hj_chen

Medium@hj_chen

Codepen@huijing

Font is M+ by Coji Morishita.