Run ❯
zig
.
com
Result Size:
625 x 565
×
Change Orientation
Change Theme, Dark/Light
Go to Spaces
<!DOCTYPE html> <html lang="en"> <head> <title>Bootstrap Example</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="../../cdn.jsdelivr.net/npm/bootstrap%404.6.2/dist/css/bootstrap.min.css"> <script src="../../cdn.jsdelivr.net/npm/jquery%403.7.1/dist/jquery.slim.min.js"></script> <script src="../../cdn.jsdelivr.net/npm/popper.js%401.16.1/dist/umd/popper.min.js"></script> <script src="../../cdn.jsdelivr.net/npm/bootstrap%404.6.2/dist/js/bootstrap.bundle.min.js"></script> </head> <body> <div class="container mt-3"> <h2>Align Items End</h2> <p>Use the .align-items-*-end classes to align single rows of items at the end on different screens.</p> <p>Resize the browser window to see the effect. <strong>Note:</strong> align-items-stretch is default.</p> <p><code>.align-items-end</code>:</p> <div class="d-flex align-items-end bg-light" style="height:150px"> <div class="p-2 border">Flex item 1</div> <div class="p-2 border">Flex item 2</div> <div class="p-2 border">Flex item 3</div> </div> <br> <p><code>.align-items-sm-end</code>:</p> <div class="d-flex align-items-sm-end bg-light" style="height:150px"> <div class="p-2 border">Flex item 1</div> <div class="p-2 border">Flex item 2</div> <div class="p-2 border">Flex item 3</div> </div> <br> <p><code>.align-items-md-end</code>:</p> <div class="d-flex align-items-md-end bg-light" style="height:150px"> <div class="p-2 border">Flex item 1</div> <div class="p-2 border">Flex item 2</div> <div class="p-2 border">Flex item 3</div> </div> <br> <p><code>.align-items-lg-end</code>:</p> <div class="d-flex align-items-lg-end bg-light" style="height:150px"> <div class="p-2 border">Flex item 1</div> <div class="p-2 border">Flex item 2</div> <div class="p-2 border">Flex item 3</div> </div> <br> <p><code>.align-items-xl-end</code>:</p> <div class="d-flex align-items-xl-end bg-light" style="height:150px"> <div class="p-2 border">Flex item 1</div> <div class="p-2 border">Flex item 2</div> <div class="p-2 border">Flex item 3</div> </div> </div> </body> <!-- /bootstrap4/tryit.asp?filename=trybs_flex-align-items-end-responsive by HTTrack Website Copier/3.x [XR&CO'2014], Thu, 06 Feb 2025 19:45:03 GMT --> </html>