Dec 8, 2011Writing correct CSS can sometimes feel a little frustrating – especially with all the vendor specific properties and cross-browser techniques we need to be aware of. CSSCop for Visual Studio tries to help us write better CSS, by making sure we remember all the right vendor specific properties or that you cannot set the margin on inline HTML elements etc.

CSSCop uses the best CSS linting tool available today – CSS Lint. Like FxCop will frustrate you the first time you run it, so promises CSS Lint, which state: “[CSS Lint] Will hurt your feelings* (And help you code better)”.
You might find a lot of errors when you run it the first time, but very quickly you learn the rules and will start coding accordingly.

All the rules can easily be turned on and off in an XML file that is placed in the root of you project the first time CSSCop runs. It doesn’t impact performance in any way since it only activates when you manually invoke it.
I hope that you will give it a try and tell me what you like and dislike about it.
* $4.95/month ASP.NET Hosting with FREE SQL 2012 DB! – Click Here!