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;
}
}
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;
}
}
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?