I have a checkbox inside a column and would like to put it in the top-right.
My template:
<div class="row">
<div class="col-11">
<h4 class="card-title">Bolsa camuflada</h4>
</div>
<div class="col-1 alinhaDireita">
<div class="col-12 col-sm-9">
<div id="checkpossuiwhats" class="custom-control custom-checkbox check">
<input type="checkbox" id="checkwhats" name="checkwhats" class="custom-control-input">
<label class="custom-control-label" for="checkwhats"></label>
</div>
</div>
</div>
</div>
In this "right-align" class I tried some things like:
float: right;
I've also tried:
position: absolute;
top: 0px
right: 0px
But nothing seems to change much.
My element:
I also tried the child element (col-12, col-sm-9), but it does not change much.