0

i have a Checkbox in a List.

If it is checked - the Line should get an new Background-color.

Can i do this with SCSS?

<li><div><input type="checkbox"></input</div><div>test</div></li>

Like:

li{@if input:checked{background-color:#ff0000;}}

0 Answers0