News for hackers. Stuff that matters.
Re:CSS Nyan Cat by scotth on Sunday June 19, 2011 @07:49AM (#2670711)
Why should you be proud to fail CSSLint?
Re:CSS Nyan Cat by daleharvey on Sunday June 19, 2011 @08:47AM (#2670763)
I lot of people disagree with a lot of the rules laid out for csslint http://csslint.net/about.html

I do as well

Re:CSS Nyan Cat by catshirt on Sunday June 19, 2011 @12:29PM (#2671121)
"Using float for layout isn't a great idea, but sometimes you have to. CSS Lint simply checks to see if you've used float more than 10 times, and if so, displays a warning. Using this many floats usually means you need some sort of abstraction to achieve the layout."

what does this even mean?

Re:CSS Nyan Cat by chriserin on Sunday June 19, 2011 @11:42AM (#2671016)
One of many many fails was:

Don't use IDs in selectors. #nyanCat {

What's the thinking behind disallowing ids in selectors?

Re:CSS Nyan Cat by joske2 on Sunday June 19, 2011 @12:34PM (#2671138)
The idea is that using IDs reduces the reusability of your css rules.
Re:CSS Nyan Cat by ugh on Sunday June 19, 2011 @08:55AM (#2670774)
Still a pretty nonsensical thing to write, isn’t it?

CSSLint does not even try to say anything about cutesy things like that. It is intended for different use cases and it is to be expected that a CSS Nyan Cat would fail CSSLint. There is nothing wrong with that, even if you believe that CSSLint is great.

Re:CSS Nyan Cat by daleharvey on Sunday June 19, 2011 @11:06AM (#2670953)
not really, he may have already been asked about it, it could have just been in his head because it became popular recently.

I think its more nonsensical to get worked up about the fact he wrote it

Re:CSS Nyan Cat by ugh on Sunday June 19, 2011 @11:46AM (#2671023)
I did not get worked up about that.
Re:CSS Nyan Cat by BasDirks on Sunday June 19, 2011 @08:51AM (#2670766)
It has a couple of very bad rules.