270: Where’s your head at?

[Robin]: Harry Roberts has been doing a ton of interesting work when it comes to the <head element and—no! stop yawning!—there’s good reason for that; it’s the place where all performance problems begin. Or, as Harry says in “Get Your

267: Everything is a Rectangle

[Robin]: Everything on the web is a rectangle. No matter what element you choose or what CSS you write, under the hood you’re always filling up the page with squares and rectangles of various shapes and sizes. You can make …

263: Accessibility Round Up

[Robin]: Lately in the newsletter, we’ve written about neat things we’ll be able to do with CSS in the future. CSS nesting! Container queries! Query units! New pseudo-elements! All this is very exciting but I think we need to slow …

262: CSS Nesting, Safari Drama, and the CSS Paint API

?

Nesting CSS classes is pretty handy. If you’re familiar with preprocessing languages like Sass and Less then you’re probably used to nesting like this:

.card {
  .card-text {
    font-size: 1em;
  }
  &.card-large {
    padding: 2em;
  }
  body.home & .card-title