csslint
csslint copied to clipboard
Automated linting of Cascading Stylesheets
The wiki states > Unqualified attribute selectors, such as `[type=text]`, match all elements first and then check their attributes. This means unqualified attribute selectors have the same performance characteristics as...
Getting a "Expected RBRACKET at line x, col y." parsing error when using the "i" or "s" case sensitivity options in attribute selectors. example: input[type="checkbox" i] { } https://www.w3.org/TR/selectors-4/#attribute-case
Using margins in animations is a bad idea, but this lines: ```css @keyframes example { 0% { margin-left: 100px; } 100% { margin-left: 0; } } ``` returns: ``` [Lundefined:Cundefined]...
when using a `percentage` value for `column-gap`, i received the `known-properties` warning. ```css dl { column-count: 2; column-gap: 18%; } /* csslint allow: known-properties */ ``` references: https://drafts.csswg.org/css-multicol-1/#cg https://developer.mozilla.org/en-US/docs/Web/CSS/column-gap
``` @media screen and (min-width:701px) { @keyframes bounce { 0% { transform: translateX(50%); } 100% { transform: translateX(-50%); } } } ``` Which is valid css produce a error by...
As was mentioned, but not explained properly and therefore closed, here: (https://github.com/CSSLint/csslint/issues/93#issue-1127736). When using `opacity: 0` and covering pre ie8 with `-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"` we are given the warning: Also define...
> [In CSS, identifiers (including element names, classes, and IDs in selectors) can contain only the characters [a-zA-Z0-9] and ISO 10646 characters U+00A0 and higher, plus the hyphen (-) and...
Hi! First of all thanks a lot for providing a great tool for enhancing CSS quality and performance! I wanted to report that https://www.csslint.net/ is showing a SSL error. ![image](https://user-images.githubusercontent.com/8843669/33799520-c3f099a4-dd2d-11e7-9027-50ea9a8aef2e.png)
Writing comments inside .csslintrc throws following warning which aborts the process Running "csslint:target" (csslint) task Warning: Unable to parse ".csslintrc" file (Unexpected token /). Use --force to continue. Aborted due...
An example from jQuery Mobile: ``` css .ui-slider-input::-webkit-outer-spin-button, .ui-slider-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; } ``` This produces `The property -moz-appearance is compatible with -webkit-appearance and should be included as...