2
I am generating a list of links dynamically using PHP, but this list is very large and I would like when it reaches a certain height in px the column is broken in 2, 3, or as many as necessary.
Ex.: Make a list even if it is in HTML
<ul>
<li>1</li>
<li>2</li>
<li>3</li>
<li>4</li>
<li>5</li>
<li>6</li>
</ul>
is displayed in 2 or more columns when rendered.
Is there any way to do this using CSS and Bootstrap 3?
It worked correctly, met my need in the expected way and worked 100%. Only a few CSS alignments are missing now, but these are particularities of the project. Thank you so much for your help, you saved me hours of work.
– LeonardoEbert
@Leonardoebert have young! I got a tip on Stackoverflow in English rss, but the important thing is that solved there. Take into account that the higher the UL height the less columns you will need to distribute the content, anything Ala ai, good luck with the project
– hugocsl
Yes, I took into consideration the
max-height
, and I fit in when it got better. I came to see some similar examples, but had not understood correctly and had not worked as I expected.– LeonardoEbert