pseudo-elements, style queries, and (a lack of) productivity


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

Hello Reader,

Next week is the last week of school for my kids… which is insane because how did we manage to get this far into the year already?!

It also means that I’ll be doing a little less work than usual, as there’ll be a bit more family time, activities, and travels going on, especially through July for me.

I’ll still be putting out this newsletter, and I have a backlog of YouTube videos recorded, so the regular stuff will keep on coming out.

There’s this thing with having that type of work regularly come out that can sometimes make people think I’m more productive than I am.

That's not to say that I'm never productive; it's just that even in periods of unproductivity, because almost everything I do is public-facing, it can seem like I'm doing a lot when it's no more than a normal person does.

Originally, this week’s podcast episode was going to go into some detail on this… but then I never got the episode put together 😆.

I’ll probably have that one come out next week instead… and as for getting back into the groove, I have some deadlines, which is a good way to get the ball rolling again.

Whatever does happen, I’ll have to power through a fair bit of work this week, and then I can breathe a little and relax with the family 😊.

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

Seems that not enough people know about these pseudo-elements

video preview

On a recent quiz, only 34% of people correctly identified which choice wasn’t a valid pseudo-element, which means not enough people know about ::marker and ::selection!

Getting started with CSS Style Queries

video preview

Style queries are going to change the way that we write CSS, and my front-end friend, and to celebrate how awesome they are, and to help raise awareness about them, this video is kicking off a mini-series here on this channel called Style Query Spotlight.

⚡ Quick tips of the week

📝 Quiz time!

Which of the following is NOT a valid selector?

  • :dir(rtl)
  • :focus-within
  • :is(.foo, .bar)
  • :nth-column(2n+1)

If you'd like to take a guess, you can submit your answer here, and see what the c... and just so you know, only 20% of people have got this one right out of over 7,000!

🔗 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...