I'm using flex for my CSS style with some divs:
<div class="wrapper">
<h2>Title</h2>
<div class="button-left">Left</div>
<div class="button-right">Right</div>
<div class="content">content goes here...</div>
</div>
.wrapper {
display: flex;
flex-direction: column;
align-items: start;
}
What is need is the h2 needs to be 100% width. The 2 button divs need to be next to each other. And the content must also be 100% width.
But I couldn't get the 2 button divs next to each other for some reason... It keeps placing all the divs below each other...
How can I fix that?