How do I use flexbox to position the button on the very bottom?
Or should I use position: absolute
?
.container {
display: flex;
flex-direction: column;
border: 1px solid;
height: 180px;
}
button {
align-self: center;
}
<html>
<body>
<div class="container">
<p> Paragraph one </p>
<p> Paragraph two </p>
<button > on the very bottom </button>
</div>
</body>
</html>