Mac to CSS · 1 year agoCSS nesting relaxed syntax update - Chrome for Developersdeveloper.chrome.comexternal-linkmessage-square1fedilinkarrow-up16arrow-down11
arrow-up15arrow-down1external-linkCSS nesting relaxed syntax update - Chrome for Developersdeveloper.chrome.comMac to CSS · 1 year agomessage-square1fedilink
minus-squareguy@lemmy.worldlinkfedilinkarrow-up2·edit-21 year agoNice, 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
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