Closed markvantilburg closed 10 years ago
This is also for users that copy/paste the css in a less file.
Thinking about this, it might be better to use a less file for the style in this repository. And generate the .css from this less file. Makes it easier to maintain colors etc.
Comments using //
may be recognized by some minifiers, but they're not valid CSS comments.
Are you using a minifier that leaves /* */
comments in? What minifier is that?
I had renamed the .css to .less. The Less compiler puts the /* */ comments in the .css file. Not in the minified version as that is stripped off all comments.
At this point, the CSS in Validity is so simple, I don't see a reason to use less (adding a whole Less compiler to the toolchain). It should be easy to include the Validity CSS rules to your own less stack, though.
The Validity CSS is intended more as a template than as an extra stylesheet for people to include (as noted in the docs).
Ok. To complete the template it might be an idea to include pull/47 to fix 'marking' issues for first time users that use the included css file.
Most minifiers leave /* comments in the CSS file, using // these comments will be removed from the minified css file