I have several tabs with standard bootstrap 3.0 (nav-tabs) like this
| XXXXX | YYYYY | ZZZZZZ |_________________
and if I, for example, judge the screen twice, I get this
| XXXXX | YYYYY | | ZZZZZ |________
but I want the tab to move to the second line, it should be 100% wide like this
| XXXXX | YYYYY | | ZZZZZ |
always full width if tabs don't fit on one line
| XXXXX | YYYYY | | AAAAA | BBBBB | | ZZZZZ |
JSFiddle - https://jsfiddle.net/28rhp52s/
Is this only possible with css?
UPDATE
if the tabs fit on one line (without the last, for example), they donβt want to move
| XXXXX | YYYYY | ZZZZZ | | AAAAA |
but great if they always move uniformly in this way
| XXXXX | YYYYYY | | ZZZZZ | AAAAAA | | XXXXX | YYYYYY | | ZZZZZ | | XXXXX | YYYYY | ZZZZZ | | AAAAA | BBBBB |
source share