slides

For Javascript Bangkok 1.0.0. This is sort of a transcript and notes for the talk.

สวัสดีค่ะ.

I am very happy to be able to be here at Javascript Bangkok. Especially since I’m talking about CSS. But don’t worry, I’m only up here for 25 minutes, so please hear me out. I loved CSS ever since I first picked up web development. And I like Javascript too, I just love CSS more.

Sometimes, even though you love something a lot, over time that feeling might fade. Not so with me and CSS. In fact, I’m even more excited about CSS today than I was when I first started. Why? Because like every good relationship, both parties must evolve and grow.

And CSS has evolved and grown so much. I’d like to think I did too, but that’s another conversation. Recently I’ve been thinking more and more about how to show people who find CSS confusing, frustrating or are new to it, how things are easier now than before.

A light bulb went off in my head last year after the flexbox inspector was released in Firefox DevTools. Because it showed me what the browser was doing to my flex items. I mean, I always relied heavily on the grid inspector for showing me what was going on with my grid items but the flexbox inspector really opened my eyes to the possibilities of what DevTools could be.

Because of the limited time, I picked a few specific CSS properties to talk about today. Let’s start with flexbox.

flex-basis

grid-template-areas

Subgrid line numbers

polygon value

Chibi-chat demo