I have the following code:
<div class="container-fluid mt-5">
<div class="row">
<div class="col-10">
Hello
<br>
Hello
</div>
<div class="col-2">
<input type="checkbox" class="w-100 h-100">
</div>
</div>
</div>
This is what the checkbox looks like on desktop displays:
And this is what the checkbox looks like on mobile displays:
I don't understand why the size of the checkbox is changing for desktop displays. Should it not have the same height/width for both mobile and desktop since I am specifically setting its size using h-100
and w-100
?