CssCop - FxCop for Stylesheets


CSSCop helps you write better and more browser compatible stylesheets. It uses the CSS Lint (csslint.net) rules engine and is completely customizable.

(11) Review
Visual Studio
2015, 2013, 2012, 2010
Download (57,019)
E-mail Twitter del.icio.us Digg Facebook
Add to favorites
Reviews (11)
Q and A (11)
Sign in to write a review
Sort by:

by Yatajga | February 20 2015

by Lucciu5 | September 18 2014

by Waqas M | February 08 2013

Nice css

by Agus.Syahputra | May 05 2012

by Sofwarer | May 01 2012

by György Balássy | April 23 2012

Very useful, thanks Mads!
Direct warning suppression (the XML file is a bit difficult to discover, but very good TFS-friendly) and help links would be great.

by Shion_ | April 05 2012

Very nice tool.
The feature of turning special rules on or off is great!

Thanks a bunch. :)

by Hosam Kamel | January 02 2012

An innovated idea indeed

by Monique.Bizzell | December 23 2011


by Dzmuh | December 14 2011

by Sayed-Ibrahim-Hashimi | December 10 2011

This is my favorite cop.

Sign in to start a discussion

  • An error has occurred in the script on this page
    1 Posts | Last post February 26, 2015
    • When trying to run the on the project, I get:
      An error has occurred in the script on this page
      Line: 8243
      Char: 381
      Error: Object reference not set to an instance of an object.
      Code: 0
      URL: about: blank
      I am running VS Professional 2013 (version 12.0.40121.00 Update 5 CTP).
  • error ie10.
    1 Posts | Last post January 22, 2015
    • Error: error during serialization or deserialization using the json javascriptserializer.
      Error:object reference not set to an instance of an object
      I use IE 10. How fix it?
  • VS2012?
    6 Posts | Last post June 30, 2014
    • Will this be updated to include VS2012?
    • Any word on this?
    • I'd be keen to see this, too.
    • I see a lot of these features in VS2012 and Web Essentials 2012 - however not all. 
      Will these come for VS12?
    • 2014.06.30 Installing CssCop skipped VS2012.  It correctly detected and installed for VS2010 and VS2013.  I can probably get by switching IDE versions as necessary.  Puzzling to me.  Curious what is the difference and the reason for the gap with VS2012.
    • However, the CssCop installed in VS2012 even though the installer did not mention it.  CssCop seems to be working fine in VS2012.  :)
  • Run CssCop on all Css files at build time
    1 Posts | Last post September 05, 2013
    • Are there any plans to make this more like stylecop where it is more integrated with the build.   Basically enabled in the project and automatically runs on building.  Configuration for errors vs warnings part of the project settings?
      We are just starting to run this tool and really like it, however relying on our entire team to run it manually wont work.  
    3 Posts | Last post June 19, 2013
    • Hello!
      There is the following error when I try to use it:
      Microsoft Visual Studio
      The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))
      the installation  seemed to good, (I have un-installed and installed again, but nothing  changed)
      Thanks, bts
    • I just installed the extension (1.2) in VS2010, and I get the same error when I try to use it.
    • I just tried version 1.4 and I still have the E_INVALIDARG error. I am using Windows 7 64bit with IE 10.
  • box-shadow etc.
    2 Posts | Last post September 05, 2012
    • How can newer CSS items such as box-shadow be added?
      Currently the usage of newer CSS statements gives an error.
      Even the newest IE (V10) knows many newer css items without prefix.
    • After updating "Web Standards Update for Microsoft Visual Studio 2010 SP1" to the newest version, CssCop now knows how to handle box-shadow - great!
  • VS2012 RTM
    1 Posts | Last post August 21, 2012
    • Am I missing something. Did the features make the RTM? If so how can you activate them.
  • Turn off some rules
    1 Posts | Last post April 08, 2012
    • Is there any way to customize the rule set or supress warnings as I can do with Code Analysis? I would not like to see warnings of overqualification. Thank you.
  • Duplicate background images
    1 Posts | Last post February 23, 2012
    • This rule does not seem available, duplicate-background-images - how easily could this be added?
      Thanks in advance
  • URI formats are not supported.
    3 Posts | Last post December 21, 2011
    • What does this error mean? Any way around it?
    • This means that when you open a website from IIS Express (could be http://localhost:1234), then there is a bug in CSSCop that tries to resolve a file name based on the URL of the project. It has been fixed already, but I'm waiting a few days to release the update.
    • Thanks a lot. It works now.
      Two things:
      Is there a place where all the error messages are explained? 
      For example, I get "You have 2 h2s, 2 h3s defined in this stylesheet." Why is this bad?
      Is it possible to enable, disable some errors?	
1 - 10 of 11 Items