I have a div divided into three columns using CSS3
.div {column-count: 3;}
This div contains a string of text which fills some part of the columns.
Can anyone think of a way to block out one or more of these columns?
So for example the first column is blocked and the text begins at the top of the second column.
The height of the div is unknown and changes.
The div is also contenteditable.
The way I ended up doing it was if I wanted to block the left column I would apply
padding-leftequal to one column’s width, take down thewidthequal to one column’s width and changecolumn-countto 2.If I wanted to block the middle column I would change
column-countto 2 and set thecolumn-gapequal to the width of one column plus the existing column gap.