I have two rows: one with 4 buttons and one with 3 buttons.
I want the second row's first column to match with the first row's second column in flexbox.
Here is my code, any help is appreciated.
<div>
<div style="display: flex">
<button style="flex: 1"> A </button>
<button style="flex: 1"> B </button>
<button style="flex: 1"> C </button>
<button style="flex: 1"> D </button>
</div>
<div style="display: flex">
<button style="flex: 2"> B </button>
<button style="flex: 1"> C </button>
<button style="flex: 1"> D </button>
</div>
</div>