TWIL May 22nd 2026

Huh, did not know about this one. At first glance you might wonder why not just nest everything under the parent component, but @scope also lets you define a lower bound for the selector. so you can do

@scope (.article-body) to (figure) {
  img {
    border: 5px solid black;
    background-color: goldenrod;
  }
}

and select every image in the article body that's not in a figure.

Another CSS thing I surprisingly didn't know (or forgot); @import is actually CSS not Tailwind!