4 ms·
Yes! True. And it’s easy to do this with Sass (here, shown in SCSS syntax): .my-class { font-weight: bold; // use "placeholder selector": & > .o
by alanh 13y ago
Yes! True. And it’s easy to do this with Sass (here, shown in SCSS syntax):
.my-class {
font-weight: bold;
// use "placeholder selector":
& > .other-class {
// selector compiles to:
// .my-class > .other-class
border-width: 0;
}
}