I'm struggling to align all checkboxes in a single vertical line. I can't figure out how to do it without moving all the content to the right when using float:right on .checkbox.
If you want to see the issue in action, visit the site (please note that it loads slowly due to embedded videos and large images). The code might look messy as I am still learning, so apologies in advance for any confusion.
body:not(#foo) input[type='checkbox'] {
opacity: 0;
}
.checkbox,
.radio {
position: relative;
cursor: pointer;
padding: 1em;
display: inline-block;
}
/* Additional CSS code goes here */
<!-- BEGIN - FILTERS -->
<div class="indexfilters">
<div class="border">
<label class="checkbox">
/* Checkbox HTML structure */
</label><br>
/* More checkbox labels go here */
<div class="divbtnfilter">
<a class="btnfilter">Filter</a>
</div>
</div>
</div>