It parses a block of CSS code and points out basic problems.
The rules against which code is checked are customizable.
The developer can set his own, or remove the ones he does not intend to comply to.
CSSLint is also available as a Node.js package as well.
Needless to say, CSSLint was inspired by JSLint.
Requirements:
· JavaScript enabled on client side
What's New in This Release: [ read full changelog ]
· Updated parser to the latest.
· Crusade against -moz-border-radius. Gecko switched to unprefixed border-radius as of Firefox 4.
· Disambiguated embedded ruleset value map.
· Modified file-level rules handling to follow jshint-style specificity.
· Added support for embedded rulesets.
· Adding a new rule (bulletproof @font-face declarations) and removing one of the global tests that is made obsolete by the new rule.
· Basic Contributor guidelines.