Willy
Willy

Reputation: 10650

CSS Parsing errors

I am using CSS Lint to detect errors and warnings in a specific css. CSS Lint detects 3 errors:

enter image description here

in below piece of css code:

a.btn,
:not(li.menu_icon a.btn),
.k-button.btn,
input[type=submit].btn, 
input[type=button].btn, 
button[type=submit].btn:not(.gridAddBtn), 
button[type=button].btn:not(.gridAddBtn), 
a[name=butonWorkFlow].btn {
    background-image: none;
    min-width: 90px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

...but I do not know how to correct it. I have basic knowledge about css.

Upvotes: 0

Views: 144

Answers (2)

nano dev
nano dev

Reputation: 443

:not(selector) is part of CSS3. Might be you are using lower version.

Upvotes: 1

BoltClock
BoltClock

Reputation: 724302

CSS Lint is no longer being updated, so does not recognize the updated :not() syntax. Use an up-to-date linter, such as stylelint, which will pass your CSS.

Upvotes: 4

Related Questions