Complaining about browser support is getting old


View this email in your browser (or share it with a friend!)

PRE-S: The latest State of CSS survey is now open!

I’ll be doing a live stream this upcoming Thursday or Friday, going through it myself, but you might as well jump in first! The more people who take this, the more representative it is, and the browsers use the data from these to know what features need improving and what is missing, so it is worth the time to take!


Hello Reader,

I’ve been getting a lot of comments lately asking about browser support whenever I show off a newer CSS feature, and honestly, it’s starting to wear on me a bit.

Or well, that isn’t quite true. I’ve always gotten a lot of comments about browser support, but lately it’s been irking me more than usual.

Don’t get me wrong, I get why people ask!

Browser support is important, and we don’t want to use something so cutting edge that it breaks the way our site looks for most users.

Most videos where people ask, I have a link to the Can I Use table in the description already, and I explain how to use it as a progressive enhancement. The one exception I have for this is for very new and experimental things, like when I looked at reading-order and reading-flow a few weeks ago.

The reason I don’t specifically mention where browser support is in my videos is that a week after that video comes out, what I mention would be out of date anyway, and I can't update the video, or have a live support table like a blog post can.

I’d rather people look for themselves when they see the video, and decide based on their own situation.

But there’s a more important thing: we shouldn’t let perfect browser support stop us from learning about and even using new features.

We can use progressive enhancement and accept that some users might not get the fanciest experience, or come in with a feature query or two to provide a fallback.

Perfect browser support has never* been a requirement for good web development.

If it were, no one would have made sites when IE6 was a thing 😆.

Learn the new stuff, understand how it works, and then make informed decisions about when and how to use it.

*I realize that some people work in jobs where they might be told something different here. If that’s the case for you, I would encourage open dialogue when possible. The best argument is “I can make this happen in half the time using a newer feature, with this as a fallback that only about X% of our users will see” or something along those lines. Long-term maintenance is usually a lot easier with modern features as well.

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

video preview

I was recently asked about creating the glowing border effect from Google’s AI Mode, and it sounded like a fun challenge, so here’s how I did it!

My finished code is here, if you want to poke around at it, but in the video I mentioned there are probably ways to do it with actual transparent backgrounds, and there are several solutions over in the Discord Community now as well.

📝 Quiz time!

This will be easier for the old-school devs out there: Which CSS property do we use to ensure that an element will go under, rather than next to, a floated element?

  1. clear
  2. float
  3. overflow
  4. position

If this one was a bit too easy, we’re going to be slowly ramping up the difficulty over the next handful of weeks 🙂

As per usual, you'll have to head on over to YouTube to take a stab at the quiz, and once you answer, you'll see if you were right or not.

⚡ Quick tips of the week

🎙️ Podcast

It's been a bit of a grind lately

Been having a hard time getting anything done the last few weeks, and as I pull out of it, I talk about some of the issues around productivity culture in general, and how sometimes it seems like we are less productive than we might have realized.

LISTEN ON: APPLE | SPOTIFY | YOUTUBE | WEB

🔗 Other awesome stuff around from the web

🏁

Have a fantastic week!
Kevin


Are you looking to step up your CSS? I've got both free and premium courses to help with that! They cover a range of skill levels too 👇

Beginner friendly (and free)

Conquering Responsive Layout

A free course to help you approach responsive layouts with the right mindset.

Enroll →

Intermediate

CSS Demystified

For those who've been writing CSS for a little bit now, but want to step up their game and start writing CSS with confidence!

Enroll →

Advanced

Beyond CSS

An advanced course that dives into project architecture, theming, design systems, and more.

Enroll →

If you no longer want to get any emails from me, you can unsubscribe or you can edit your preferences if you'd like pick which emails you get from me.
113 Cherry St #92768, Seattle, WA 98104-2205

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 edition of the newsletter is the last “summer break” edition. We’ll be back to the full one starting next week 🙂. 🙋♂️ What I’ve been up to this week Select a specific row in a grid, even when using auto-fit or auto-fill A fun look at how we can select a specific row when using grid’s auto-fit feature, including an example by Temani Afif, who looks at how we can do this with a lot less code in the near future. When...

View this email in your browser (or share it with a friend!) Hello Reader, The shorter summer version is still in effect, but I had several DMs and emails this week asking me about my overall approach to writing CSS, and I wanted to let you know that I do have a Frontend Mentor course where I cover exactly that. In the course, we build out a project based on a Figma design, starting from scratch. Throughout, I make a point of emphasizing my thought process on the decisions I’m making along...

View this email in your browser (or share it with a friend!) Hello Reader, A quick reminder that I’m in summer vacation mode for the next 2-3 weeks, which means these newsletters won’t have any general musings to start them off, and there will be a bit less content than usual. If you’d like to opt out of these shorter ones, you can click here to update your preferences, and I’ll only send you one again once the newsletter is back in full force. 🙋♂️ What I’ve been up to this week Spice up your...