purpose
I have a dynamic number of switches. I want them to appear on the line and, if necessary, go down to the next line. Depending on the size of the screen, I want them to fold.
Current problem
Now I am using:
<label class="radio-inline">
<input type="radio" name="inlineRadioOptions" id="inlineRadio1" value="option1">
Radio button label 1
</label>
<label class="radio-inline">
<input type="radio" name="inlineRadioOptions" id="inlineRadio2" value="option2">
Radio button label 2
</label>
...
<label class="radio-inline">
<input type="radio" name="inlineRadioOptions" id="inlineRadioX" value="optionX">
Radio button label X
</label>
, , , . . , , ( ), , margin-left: 10px, .radio-inline. , 2, 3, 4 .. 10px 1. , . , 1 , 10 .
col-lg-#. , , .