Reputation: 2231
How i can select and style an <input type=checkbox disabled checked>
in SASS?
I tried this but don't put any style:
input {
&:checked &:disabled{
background-color:red;
}
}
Upvotes: 1
Views: 3832
Reputation: 316
Here is the code you can try.
input {
&:checked:disabled{
background-color:red;
}
}
However the styles won't work for checkbox. As checkbox can not be styled natively yet. See for reference css - Why Cannot Change Checkbox Color Whatever I Do?
Upvotes: 4