Supposedly I have buttons, I want to display these buttons by 2 in a row. I'm not sure how I can display the buttons with a specific width in 2 in a row and have the control to display them left, center, or right. Wanted outcome would be something like this:
.container {
display: flex;
flex-direction: row;
flex-wrap: wrap;
}
.button {
width: 190px;
border: 1px solid red;
}
<div class="container">
<button class="button">1</button>
<button class="button">2</button>
<button class="button">3</button>
<button class="button">4</button>
</div>
