4 ms·
LESS is more how CSS should look like for styling. It's amazing we don't have embedding of rules yet. parent { child { } } is just so much more deve
by devwastaken 8y ago
LESS is more how CSS should look like for styling. It's amazing we don't have embedding of rules yet.
parent {
child {
}
}
is just so much more development friendly than
parent {
}
parent child {
}
- bsheir74 8y agoAgreed, and hoping that scss or less influences future versions of css!
- mjevans 8y agoI believe the why is that as soon as you have any invalid syntax everything else is ignored. I forget the level of scope, I think it's until the next complete rule?
- gsnedders 8y agoThe CSS WG earlier this year resolved to take on a spec defining this, and there's implementer interest, so it's highly likely to happen. (This is https://github.com/w3c/csswg-drafts/issues/2701 https://github.com/w3c/csswg-drafts/issues/2701 .)