I have 3 inline-flex divs, one next to the other, I need the left and right ones to be the size of the content (autosize) and the center is the size that remains, but with overflow hide, I searched everything and did not find, no matter if you need to use table, as long as it works.
Example:
+-----+--------------------------------------------+-----+
| E | Centro, com o tamanho que restar | D |
+-----+--------------------------------------------+-----+
The right div can have width 0 in some moments, and the center div will have another div inside that can be larger than 100% and the corners will have other divs inside with inline-flex
HTML code
<div id="tabs">
<div id="tabs-left">
<div class="tab">Home</div>
<div class="tab" id="scroll-decrease" style="display: none;">
<i class="fa fa-angle-left center"></i>
</div>
</div>
<div id="tabs-center">
<div id="tab-1" class="tab">
Tab 1
</div>
<div id="tab-2" class="tab">
Tab 2
</div>
<div id="new-tab" class="tab add">
<i class="fa fa-plus center"></i>
</div>
</div>
<div id="tabs-right">
<div class="tab" id="scroll-increase" style="display: none;">
<i class="fa fa-angle-right center"></i>
</div>
</div>
</div>