How to create the masonry effects with just bootstrap 3 grid system and css

前端 未结 4 838
离开以前
离开以前 2020-11-29 07:41

My issue is that i want to display data in a block format using the bootstrap 3 grid system however i dont want the annoying whitespace gaps that happen from the height bein

4条回答
  •  天命终不由人
    2020-11-29 08:35

    In Bootstrap 4 you can use .card-columns, see here: https://v4-alpha.getbootstrap.com/components/card/

    Though I would recommend using isotope as JS offers more control and better compatibility than CSS.

提交回复
热议问题