We can animate to `auto` now!


Hello Reader,

A day late with my newsletter this week, mostly because I completely forgot to write it last week!

I have a spot on my calendar for writing my newsletter, but I was really immersed in a project I’m working on and told myself that I’d do it later, and then I simply forgot 😅.

I’ll have some news on what that project is soon-ish, but since it’s Monday morning and I’ve got a few other things that need doing as well, let’s just jump into the main content!

📅 Mark your calendar

I’m going to be talking at JetBrains JavaScript Day 2024 edition this Thrusday.

It’s a remote conference and completely free!

As the name of the conference implies, it’ll be very JS heavy, with some really good talks lined up, but I’ll be there to play a bit of a spoiler with my talk You don’t need JavaScript for that.

Again, it’s a free event that you can register for here.

🙋‍♂️ What I’ve been up to this week

As I mentioned, a lot of my week was spent working on a project that I’m really excited about.

I almost started working on it again this morning because I’m so excited for it… but I have a lot of other things that need doing, so I’m doing my best to put it on pause for a little bit.

But I did have a regular video as well, and this one on interpolate-size: allow-keywords is one of the new CSS features that I’m so happy we finally have!

video preview

That’s right, we can animate to and from auto, and any other intrinsic size now.

Here's a CodePen with the code from the video if you want to play around with it (currently Chromium-only).

What I didn’t cover in the video was the also new calc-size() feature, which can take animating to and from auto to another level because we could use that to do calculations based on auto (and other intrinsic sizes).

Bramus’ article on the Chrome for Developers blog that introduced me to interpolate-size also goes into calc-size as well, if you’d like more info on both of them.

🏁

No stuff from around the web this week because I haven’t really been on the web much this past week.

It’ll be back next week though, when we’ll return to the regular Sunday schedule.

Until then, have a great 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

PRE-S: With my course CSS Demystified about to relaunch, I'm going to be sending a lot more emails than usual. If you'd like, you can stay on my regular Sunday list, but opt-out of the extra emails. Hello Reader, I’m sure you’ve seen this before. Most people use it to poke fun at CSS and use it as an example of one of the many problems with CSS. The thing is, it’s actually an example of how CSS solves a problem the user created. Most problems we run into don’t happen because CSS is broken or...

View this email in your browser (or share it with a friend!) Hello Reader, Looks like I’ll be in Amsterdam a lot this year! First, I’m heading there in less than a month from now for Smashing Conf, where I’m giving a talk and an in-person workshop (I've got a link with a discount below if you are able to make it). And, if you can’t make it to that, I’m happy to announce I’ll be back in Amsterdam in June for CSS Day! I’m so excited to be going back to CSS Day again. Speaking there in 2024 was...

View this email in your browser (or share it with a friend!) Hello Reader, If you only have 10 or so minutes of free time for this email, instead of reading it, I’m going to ask that you either read this article or watch this video by Salma Alam-Naylor, where she explores her current thoughts on the tech industry and the impact AI is having on it. I’ve had a lot of thoughts on the current state of things circling around my head without being able to wrangle them in any coherent way, which she...