Set height with zurb-foundation grid

前端 未结 2 1971
北海茫月
北海茫月 2021-02-11 08:17

I\'m using zurb-foundation.

Is there a way to set two grid same height, if they are horizontally arranged. And if they are vertically arranged I want to set different he

2条回答
  •  广开言路
    2021-02-11 08:36

    The best way to do this is using a simple JS remedy. I have been using Foundation for years and this is my fail-safe code.

    
    

    This will give all the div classes of "small-item" a equal height column. based on the tallest columns height:

提交回复
热议问题