karacas
karacas

Reputation: 2132

-webkit-filter in Stylus

Any chance to use this in stylus:

-webkit-filter: invert();

whitout

@css{
    .something {
        -webkit-filter: invert();
    }
}

Thnx

Upvotes: 2

Views: 1168

Answers (1)

Linus Thiel
Linus Thiel

Reputation: 39223

The issue seems to be the built-in function invert(color). The only solution I can think of (bar renaming the bif invert) is this:

.foo
  -webkit-filter unquote("invert()")

Upvotes: 4

Related Questions