button right on the div bootstrap 4 code example

Example 1: move button to right bootstrap

<!-- Create a div with class text-right and add a button inside that div -->
<div class="text-right">
    <input type="button" class="btn btn-info" value="Next">
</div>

Example 2: bootstrap align right button

<div class="float-sm-left">Float left on viewports sized SM (small) or wider</div><br>
<div class="float-md-left">Float left on viewports sized MD (medium) or wider</div><br>
<div class="float-lg-left">Float left on viewports sized LG (large) or wider</div><br>
<div class="float-xl-left">Float left on viewports sized XL (extra-large) or wider</div><br>

Tags:

Html Example