Kindly requesting help with buttons

Hello Team,

Kindly requesting help with buttons, All I want is to have buttons stacked on top of each other in a vertical manner but aligned to the right.

I have been able to create 3 buttons stacked on top of each other with “float: up”. but cant get them to the right.

please take a look :

<!--  **********start section #3**************  -->

<div id="section3" class="container-fluid">
  <h1>Section 3</h1>
  <div id="media"class="text-right" style="align:right;">
  
<button type="button" style="float: up;"class="btn btn-default text-right">Link</button>
<button type="button" style="float: up;"class="btn btn-default">Link</button>
<button type="button" style="float: up;"class="btn btn-default">Link</button>
  
      </div>

  </div>

What if you put a line break between them with a float right?

<div id="section3" class="container-fluid">
  <h1>Section 3</h1>
  <div id="media"class="text-right" style="float:right;">
  
<button type="button" style="float: up;"class="btn btn-default text-right">Link</button>
    <br/>
<button type="button" style="float: up;"class="btn btn-default">Link</button>
    <br/>
<button type="button" style="float: up;"class="btn btn-default">Link</button>
  
      </div>

  </div>

I wanted to avoid that but I guess ill just end up doing so. thanks