i have 3 div for navbar and using flexbox i want to keep my middle div at center no matter how much i put content at the right div or left div :- right now the content inside left and right div is just text but i want to put logo and other stuff but the middle div keep moving as my right div keeps growing
here is the code
<div class="header__div">
<!-- Left Button -->
<div class="left__header">
a
</div>
<!-- Left Button End -->
<!-- middle button -->
<div class="middle__header">
a
</div>
<!-- middle button end -->
<!-- Right Logo -->
<div class="right__header">
a
</div>
<!-- Right Logo end -->
</div>