Responsive Design is 15 years old!


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

Hello Reader,

Ethan Marcotte first coined the term Responsive Design in an article for A List Apart back in 2010.

Yup, it’s been 15 years.

As the name implies, Responsive Design involves writing CSS that allows the layout to respond to how a user is consuming the content, with “Fluid grids, flexible images, and media queries [being] the three technical ingredients for responsive web design.”

For a long time, media queries (@media) were a very big part of the idea of responsive design.

These days, I’d argue that they are less important, though still definitely one of the tools we use.

More recently, Jen Simmons coined the term Intrinsic Design, which she explained as the next stage where we let the browser do a lot of the work for us based on some limitations that we set on our layouts.

I strongly believe that intrinsic patterns should be our first line of attack, followed by bringing in media queries, or container queries where needed, and that really, all of that fits into the concepts of Responsive Design that Ethan coined all those years ago.

Luckily, we have more tools to help us with all of this now than we used to, when we had to do our best with floats and clears back in the day.

Sometimes that can lead to confusion as well, because there are different lines of attack that we can take to solve a given problem, but that’s better than the alternative that we lived with for so many years!

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

Form Styling Essentials

video preview

In this one, I explore styling forms, from making sure our elements inherit font properties, when to use CSS Grid over Flexbox for form layouts (plus one key flexbox use case), advanced selectors for targeting specific form elements, practical layout tips and tricks, the new accent-color property for native styling, and more.

Here’s the finished Codepen, if you just want to poke around at some code.

📝 Quiz time!

Last week’s was easy, so we’re going a bit trickier this week 🙂. Which of the following CSS properties is NOT inherited by default?

  1. paint-order
  2. pointer-events
  3. user-select
  4. vertical-align

Head on over to YouTube and submit your answer there to find out the correct answer.🙂

⚡ Quick tips of the week

🎙️ Podcast

Flexbox is NOT easier than Grid

A little bit of a rant from me this week, as I got frustrated writing some lessons and had to step outside for a bit 😆

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, I got this comment on a video that I posted this week: For such a fundamental concept, you'd think it would be something that's talked about more, but it really isn't talked about enough. Of course, that's why I made this video! I only really started thinking about this more recently, because for some reason, it was one of the things I sort of never thought too much about. It might seem strange, but for me, it was...

View this email in your browser (or share it with a friend!) Hello Reader, One big problem with features like Grid and Flexbox (and maybe soon Masonry) is that we can move elements around. This might sound like a feature, but in reality, it can cause many issues because even something as simple as flex-direction: row reverse can muck with tab order. There are times where it can potentially be a good idea to re-order things with CSS (say, when you want an image above a title of a card, but in...

CSS Hell

View this email in your browser (or share it with a friend!) Very quickly, before we get into the topics of this week's newsletter, the State of Devs survey is going to be closing shortly. The survey is for devs, but asks about who we are, rather than what we know. As with all the "State of..." surveys, the more people who take it, the more representative the results are, so if you have a few minutes, it'd be great if you could take the time to take it. Hello Reader, So, Figma had a big event...