Have you ever coded lines of CSS and can’t figure out why a certain element isn’t looking or loading correctly?
I know I have.
I came across a wonderful resource the other day while doing some design work on my personal site. I was making a few CSS changes and needed to fix a few things that were a little “off.”
Enter Lint CSS.
CSS Lint
CSS Lint is a website where you can enter your CSS code, select a few options based on your coding style, and figure out if your CSS is good or bad. This site is not for the faint of heart. Make sure you have some guts before using it. They might tell you that your whole code is garbage.
Expert coders should also be aware. Just because you think you know CSS perfectly, doesn’t mean you really do, as this site is set out to prove.
Use with caution, but enjoy this wonderful free resource!
Did you add this to your web design bookmarks? What do you think of this resource?
Steven Rossi says
Is there a link in the post? Am I missing it? (Not trying to be a jerk or anything.)
Eric Dye says
http://csslint.net/
Brian Alexander says
Right after the screenshot. 🙂 Let me know what you think!
Jonathan Blundell says
Doh! 0 errors and 133 warnings on my blog.
I’ve been warned.
Brian Alexander says
Couldn’t take too long to fix those! At least they are warnings, and not errors. 🙂
Jonathan Blundell says
Yeah and looking at the list, it seems some of the warnings are still debatable – such as not using IDs as a selector. Not checking for IDs or one or two other things really drops the warnings down.
(and it’s actually fewer warnings and errors than another pro-theme I use so I can’t feel too bad)
Chris says
4 errors, 33 warnings. So now that I have those errors, how do I figure out what the heck it’s actually saying is wrong? It’s great that it tells you what’s wrong, but if I knew how to fix what’s wrong, I’d probably have had less things wrong. Any good resources to help fix the errors?
James Cooper says
Interesting. ‘Overqualified Elements’ warnings are quite useful but I mostly got ‘Don’t use IDs in selectors’ warnings. Yes IDs can’t be reused – but I only use them for things that I won’t *need* to reuse! Handy to bookmark though!