News for hackers. Stuff that matters.
Re:Incomplete List of Mistakes in the Design of CSS by devwastaken on Wednesday October 24, 2018 @11:31PM (#18298384)
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 {

}

Re:Incomplete List of Mistakes in the Design of CSS by gsnedders on Thursday October 25, 2018 @10:55AM (#18301345)
The 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 .)

Re:Incomplete List of Mistakes in the Design of CSS by bsheir74 on Wednesday October 24, 2018 @11:49PM (#18298443)
Agreed, and hoping that scss or less influences future versions of css!
Re:Incomplete List of Mistakes in the Design of CSS by mjevans on Thursday October 25, 2018 @04:48AM (#18299446)
I 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?