Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The commentors complaining that their pet style is not included seem to be missing the point of an idiomatic CSS guide. I have seen the one rule per line in the wild, but it is rare. The CSS the author has shown is fairly representative of what I see in production code.

However, the author should have stuck to plain CSS instead of including the syntax favored by SCSS. Some of the syntax is specific to the later. Single line comments are a particularly egregious example; they can appear to work in vanilla CSS, but that's only because they force a syntax error that makes the parser skips the line. Including such syntax defeats the entire purpose of the guide.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: