I am using css column-count property / multi-column properties in a layout for texts with different amount of words.
.column{
background:#f8f8f8;
column-count:2;
column-gap:40px;
margin:50px 0;
padding:20px
}
However, I cannot find any info how it is possible to center an image in the middle of the columns?
If I add an object using column-span, eg
.img-centered {
shape-outside: border-box;
}
it fills both lines, and shape outside box is not working? like this (done in a word-document ;-(
example of what I want to achieve in css
Thanks for any hints!
text
by hand each time I add a new text based on the template. the beauty of colum-count is that it breaks the content by itself. I hope I could make myself clear? – Aprilia Parrino Oct 13 '21 at 12:37