Scroll-state is incredible, plus some other CSS goodness


Hello Reader,

Back in October, I travelled to Minneapolis to create a course with Frontend Masters, and while I was there, I recorded my experience so that I could share a behind-the-scenes look at what it was like.

The first two videos in that series are now up on my second channel.

video preview
video preview

This is something I’ve never done before, so there are some rough edges here and there, but I’m pretty happy with how they turned out!

The final two episodes will come out this week.

🙋‍♂️ What I’ve been up to this week the last two weeks

I once again wrote a newsletter last week, and then forgot to send it (🤦‍♂️) so here’s what I’ve been up to over the last two weeks.

📺 How I made the slide in nav on my website

video preview

A few weeks ago, I mentioned how I’d redesigned my homepage, and I want to thank everyone who replied, whether it was with feedback, or just to say that they liked it 😊.

I didn’t reply to everyone (I got a lot of emails), but I did read all the feedback, and have made a few changes, so if you did give me feedback and I didn’t reply, I’ll take the time now to say “thanks!”

One thing that I wanted to do with the site is have some fun with modern CSS, so while I didn’t have any feedback on this, I wanted to make a sticky nav on scroll. I had a simple bit of JS at first, then said “wait, what am I doing?!”

So then I hit record, and made this video where I look at how we can do it with both scroll-state and view-timeline. Turns out the scroll-state version is so much easier, and support is almost the same at this point.So then I hit record, and made this video where I look at how we can do it with both scroll-state and view-timeline. Turns out the scroll-state version is so much easier, and support is almost the same at this point.


📺 CSS properties that solve annoying problems

video preview

A bit of a quick hits on useful properties and values, where I look at inset, isolation, aspect-ratio, fit-content, and text-wrap: balance and pretty.


⚡ A border-radius trick

video preview

A quick look at why I like using viewport units for border-radius values.


⚡ CSS just keeps getting better

video preview

As someone who had to use photoshop to slice up an image of a button to get round corners, this is pretty crazy stuff 😆.

🎙️ Podcast

Too many tools

show
We don't always need a new t...
Mar 6 · General Musings with Kev...
13:53
Spotify Logo
 

This week I talk about the challenges of content planning and scheduling, and my preference for simple tools like pen-and-paper calendars over an excess of apps.

LISTEN ON: APPLE | SPOTIFY | YOUTUBE | RSS

🔗 Other awesome stuff from around the web

🏁

In case you missed my email about my Frontend Masters course from earlier this week, it’s the CSS course I wish I had when I first started learning CSS, and you can get access to it for only $29.

It covers everything you’d expect — the box model, typography, Grid, Flexbox, responsive layouts, positioning, animations, form styling, and more, and the whole thing is built around understanding the reasoning behind each concept, not just memorizing the syntax.

The link above will apply the discount for your first month automatically, and it is an affiliate link, so if you sign up, it also helps support me a bit as well 🙂.

On top of that, you do get access to their entire library of courses (which includes a second one by me as well).

Have a fantastic week!
Kevin


Unsubscribe · Preferences
600 1st Ave, Ste 330 PMB 92768, Seattle, WA 98104-2246

Hi! I'm Kevin

Weekly newsletter, where I talk about tangentially-related front-end development topics and share what I've been up to in the last week, plus any cool/fun/interesting/useful links I come across as well.

Read more from Hi! I'm Kevin

View this email in your browser (or share it with a friend!) Hello Reader, This week, I’m formatting things a little differently because the comments on a YouTube video I posted got me a little riled up 😅. So, starting with that video, I took a look at Temani Afif’s mind-blowing CSS-only graph theory CodePen. And while most people were pretty blown away by this as well, there were a fair number of comments about how this is breaking the separation of concerns and how CSS shouldn’t be able to...

View this email in your browser (or share it with a friend!) Hello Reader, First up, make sure you update your browser, because there is a zero-day CSS vulnerability. In other news, one of the joys of being over forty is managing to throw out your back while you sleep. Luckily I already had a physio appointment lined up this week for another injury… so yeah, things are going great over here! Other than that, things are going well, though. I’ve made some good progress on my big update of CSS...

Hello Reader, When I first started teaching CSS, I quickly realized that while I could muck around and get a layout to come together, I didn't actually understand much about CSS. Students would ask questions about why something worked the way it did, and I wouldn't have an answer. I started looking for resources that explained why things behaved the way they did, so I could understand them better and, in turn, teach them better, but I struggled to find any that did. Everything would teach you...