We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
inherit
Example: https://codepen.io/VovanR/pen/qvJEeW?editors=1100
._btn(@color) { color: if((iscolor(@color)), darken(@color, 10%), @color); background-color: if((iscolor(@color)), green, pink); } .btn1 { ._btn(yellow); } .btn2 { ._btn(inherit); } body { color: lime; }
I try to use iskeyword but it fails too
iskeyword
._btn(@color) { color: if((iskeyword(@color)), @color, darken(@color, 10%)); background-color: if((iskeyword(@color)), pink, green); }
But without color function in If statement it works fine. Try to comment color rule line
color
The text was updated successfully, but these errors were encountered:
See #3371
Sorry, something went wrong.
Closing in favour of #3371.
No branches or pull requests
Example: https://codepen.io/VovanR/pen/qvJEeW?editors=1100
I try to use
iskeyword
but it fails tooBut without color function in If statement it works fine. Try to comment
color
rule lineThe text was updated successfully, but these errors were encountered: