Does anyone know how I can change a div
or label
by setting a checkbox
example I have this code here.
<label style="margin-bottom: 10px;">
<div class="adicionalch bg-yellow">
Nutella <input type="checkbox" name="adicional[]" value="3.00" id="3.00">
</div>
</label>
With a class bg-yellow
, when setting checkbox
, it changes to another class or adds some css formatting.