How to add space between right align bootstrap button?

Viewed 10295

I would like to add 3 spaces between two right align button. Is there any bootstrap solution for it without adding custom css?

enter image description here

I do this :

    <div class="text-right">
           <button class="btn-info btn">Log in</button>
<!-- Add 3 spaces between button -->
           <button class="btn-info btn">Log Out </button>
    </div>

Fiddle demo : http://jsfiddle.net/6816gq84/1/

4 Answers

This also work fine for me:

<div style="display: flex ; justify-content: flex-end">
    <button class="btn-info btn mr-3">Log in</button>
    <button class="btn-info btn">Log Out </button>
</div>
Related