Layout of css (js) blocks?

  • 0
    how from this
    <ui class="colom2">
        <li class="product">1</li>
        <li class="product">2</li>
        <li class="product">3</li>
        <li class="product">4</li>
        <li class="product">6</li>
        <li class="product">6</li>

    do it like this

    not this

    the height is different and not fixed for the blocks + changes to everything by clicks
    shcha in the form of columns - outwardly ideal, but it is necessary that the information is arranged in order one after another (from left to right), and not under each other
    JavaScript Alexander Blankenship, Feb 14, 2019

  • 2 Answers
  • 0

  • 0
    Look towards flex

Your Answer
To place the code, please use CodePen or similar tool. Thanks you!