|
|
|
|
|
by Kartificial
4267 days ago
|
|
"What’s your opinion on pre-processors like SASS and LESS? Does CSS have anything to learn from them? (...) My own favorites would be nested comments, and single-line comments (starting with //). When CSS turns 50 I’ll tell you why they were not part of CSS from the beginning." Now, this makes me really wonder why single-line comments weren't part of the spec from the beginning. And I can't wait 30 years... Anyone an idea? |
|
I personally like how single-comments works on pre-processors. They are ignored at compile time and therefore are a good way to comment on functions, mixins or anything that won't be compiled to raw CSS.