3
submitted 7 months ago by mac@programming.dev to c/css@programming.dev
top 1 comments
sorted by: hot top controversial new old
[-] guy@lemmy.world 1 points 7 months ago* (last edited 7 months ago)

Nice, here I learn that we already finally had nesting in CSS!

And this relaxation change is a good one.

Now, if only we can get support for:

.card {
  &--header {
    /* is not equal to ".card--header" in CSS, but is in SCSS and LESS */
  }
}

Edit: Lemmy broke, that should just be an ampersand in the code

this post was submitted on 16 Nov 2023
3 points (100.0% liked)

CSS

430 readers
1 users here now

founded 1 year ago
MODERATORS