Tell me how you can stylize input[type="radio"] and input[type="checkbox"] (no difference) so that the active item is framed in the frame, i.e. like this
.primer { display: inline-block; border: 1px solid black; } <div class="primer"> <label class="product--items"><input type="radio" class="radio" name="" value="1" checked="checked">Пример</label> </div> The markup is this, and should not change:
<label class="product--items"><input type="radio" class="radio" name="" value="1" checked="checked">Один</label> <label class="product--items"><input type="radio" class="radio" name="" value="1">Два</label> <label class="product--items"><input type="radio" class="radio" name="" value="1">Три</label> those. input wrapped in a label .