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

Hello Reader, Sometimes you run into a CSS problem, and you do everything right, but still can't figure out what is going on. You don’t pile on Band-Aids. You stop and think about why it’s happening. You narrow it down to a specific question. You search for an answer. And you get nothing. This happened to one of my students a while back. They added padding to an element, and that padding covered the text of the paragraph above it. They played around with it and tried a few different things....

Hello Reader, Yesterday I told you about the mindset shift that changed everything for me, and how I started working with the browser instead of against it. I’ve spent a long time figuring out how to pass that same shift on to others, and that’s why I created CSS Demystified, which is now open for enrollment. Before I get into the details, I want to tell you why I built it the way I did. I spent five years teaching in a classroom before I moved to online education full-time. And the thing...

Hello Reader, Creating websites was a hobby of mine for a long time. I started making my first sites in the late 90s with Photoshop slicing, table layouts, and image maps. I never thought writing HTML and CSS would become such an important part of my life. After a wandering path of unrelated degrees, I ended up as a graphic designer at a small agency. I loved it, but the pay was terrible, so I started freelancing on the side as well, mostly designing websites. After a few jobs, I figured that...