html - How can I make the CSS attribut of a Div to change when there is a text overflow on another Div? -
i'm building div column-count = 2, column-fill = auto, , height = 100%.
this div contain other div text inside. however, want page fluid , adapt automatically when window shorter in order overflowing text read on 2 columns using browser scrollbar.
so need div remove height = 100% , replace min-height = 100% in order scrollbar appear on browser allow read below overflowing text on 2 column instead of having overflowing text appearing on third column (despite column-count = 2).
is there way achieve css or should need javascript, , how ?
many thanks
Comments
Post a Comment