We are using has in CSS which is causing issues in FF.
We don't want to change via about:config of FF.
Is there any alternative or best practice to resolve within CSS/HTML.
So it will work in all browsers?
Example : On basis of checkbox checked we are changing the color of DIV
.toggle {
position: relative;
top : 5px;
.toggle-wrap {
width : 18px;
height: 8px;
&:has(+ input[type="checkbox"]:checked) {
background-color: red;
}
}
}