3 ms·you can, with the power of :has! label:has(input:checked) { background-color: orange; }by agos 2y agoyou can, with the power of :has! label:has(input:checked) { background-color: orange; }