您的位置:首页 > 技术中心 > 前端框架 >

bootstrap怎么设置行高

时间:2022-02-11 17:31

bootstrap中设置行高:

只需将row-same-height类添加到对应的div中,

< div class =“row row-same-height”>< / div>

在类中就可以设置高度:

.row- same-height {
 overflow:hidden; 
} 
 
 .row-same-height> div {
 margin-bottom:-2000px!important; 
 padding-bottom:2000px!important; 
}

推荐:bootstrap入门教程

以上就是bootstrap怎么设置行高的详细内容,更多请关注gxlsystem.com其它相关文章!

本类排行

今日推荐

热门手游