I have a following HTML code:
<div class="row">
<div class="column1"></div>
<div class="column2"></div>
<div class="column3"></div>
</div>
Class .row
is a flexbox set to be a row. Classes column1
and column2
have set fixed width property in CSS. However class column3
doesn't have that property. When I'm adding text to that container, it changes width of the rest two containers.
I tried properties white-space: no-wrap
, overflow: hidden
, overflow-wrap: break-word
.
None of these properties prevent changing width of other two columns. How can I fix it so all three columns will have fixed width but column3
will adjust automatically when window size is changed?