Are we entering into an era of stagnation?


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

Hello Reader,

Last week on my second channel, I asked a question near the end of the video about whether or not people are worried that, thanks to more and more people using AI to write code, there would be less pressure on languages to evolve.

That led to a lot of interesting comments, with a bit of a split on people’s opinions. The two main arguments were:

  • AI producing more and more code just builds up the training data on the current/older way of doing things
  • It might push forward more, as training data isn’t fixed, and if it’s trained on newer/best practices, it will adopt faster than humans have

I can see things from both points of view, but the one issue I see with the second point is it involves things, like documentations, tutorials, etc. being made for the LLMs to digest, and I’m not sure that is going to happen.

The Open Web Docs, who do the writing for MDN, are already a small, underfunded outfit, and the people who write tutorials and educational content are less motivated than ever.

I went into more on this in my latest video on the second channel.

video preview

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

Other than that, I have kept up with my educational content, and I do have no plans to stop 😅.

📺 The future of CSS looks very different

video preview

Apparently, people don’t like change very much! In the comments on this one, there was a lot of pushback on CSS using functions and if statements like I looked at in this video.

The thing is, so much of this is stuff that you’d write once, and then just use. It looks different, but that doesn’t mean it’s bad… and of course, just because a feature exists doesn’t mean it has to be used!

I can see custom functions being used a lot in large-scale projects, as they offer an easier way to pass tokens through, with the added benefit of type safety compared to custom props, which leads to easier debugging. You can define the syntax on those too, but registering all your custom properties can be a little much.


⚡ Positioning in CSS is too easy now

video preview

A quick look at how anchor positioning makes things comically easy, including the handy anchor-size() that we don’t often hear about.

🔗 Other awesome stuff from around the web

  • I Could’ve Rickrolled the Entire FIFA World Cup. All I Needed Was My ID. You’d think a company the size of FIFA would do more than just client-side auth, but apparently not. I’m a CSS guy, and even I know this 🫠.
  • Your Grid Lanes will likely fail WCAG 2.4.3 by Manuel Matuzović (Rachel Andrew talked about how reading-flow should be prioritized over masonry/grid-lanes two years ago at CSS Day and she’s very right. It’s borderline useless without it.
  • Honestly not sure what to think about 60% of internet traffic being bots… wish that they had more historical data to look at, but going into the 12-month view does show overall traffic trends going up quite drastically, which you have to assume is from bots.
  • In non-web-related news, Mainframe Studios is remastering ReBoot and putting the episodes on YouTube. This was one of my favourite shows back in the day, so I am pretty excited about this 😅.

📝 Quiz time!

When using anchor positioning, how can we have an element match the width of the element it is anchored to?

  1. width: anchor(anchor-size);
  2. width: anchor-size(size);
  3. width: anchor(width);
  4. width: anchor-size(width);

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.

🏁

I sent out a dedicated email about this earlier this week, but just in case you missed it, I’m teaming up with Michael Warren to create a new course about design systems. If you’d like, click this link and I’ll update your email preferences so that you get updates and lesson previews.

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)

HTML & CSS for Absolute Beginners

A free course that starts with the absolute basics, and gets to creating some layouts with Flexbox and Grid.

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 →

Intermediate (Frontend Masters)

Build a Modern Site from Scratch

Build a fully responsive site using modern CSS features, along with some polished animations.

Enroll → (25% off first month of Frontend Masters if you use this affiliate link)

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.
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,It’s hard not to come back from an event like CSS Day and not be excited about the future of CSS, and the web in general. There is a lot to be concerned about with the current state of things, but one thing that is super clear is that there are still a lot of super passionate people who love their craft, and seeing that passion, both in the talks from other speakers as well as when chatting with attendees, you can’t...

View this email in your browser (or share it with a friend!) Hello Reader, The pattern of shorter newsletters continues for me, as I continue my prep for CSS Day. I’m writing this on Thursday morning (my normal newsletter writing time), and yesterday, as I was rehearsing my talk, I realized I had a pretty big oversight in my talk, so I spent the rest of the day reshuffling things and updating the demos I’m using. It all means it’ll be a stronger talk, but I’ll be on the plane to the...

View this email in your browser (or share it with a friend!) PRE-S: A quick reminder that the State of CSS survey is currently open. The browser vendors all pay a lot of attention to the results of these “State of” surveys, and the more people who take them, the more representative the results are… plus they are a great way to learn about features you didn’t know about! Hello Reader, A bit of a short newsletter this week, as I've been focusing on getting some content created and working on my...