I'm attempting to utilize justify-content in order to position one button at the beginning of a div and another button at the end.
However, I've realized that justify-content only works when applied to the div itself, not the buttons individually. Below is my current code which I know is incorrect.
Any advice or tips would be greatly appreciated!
<!DOCTYPE html>
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.1.3/js/bootstrap.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.slim.js"></script>
<title>Container justify</title>
<div class="d-flex justify-content">
<button class="btn justify-content-start btn-default">button1</button>
<button class="btn justify-content-end btn-default">button2</button>
</div>