Missing visible-** and hidden-** in Bootstrap v4

后端 未结 10 2236
小蘑菇
小蘑菇 2020-11-22 06:39

In Bootstrap v3 I often use the hidden-** classes combined with clearfix to control multi column layouts at different screen widths. For example,

I could combine mu

10条回答
  •  南笙
    南笙 (楼主)
    2020-11-22 07:27

    http://v4-alpha.getbootstrap.com/layout/responsive-utilities/

    You now have to define the size of what is being hidden as so

    .hidden-xs-down
    

    Will hide anythinging from xs and smaller, only xs

    .hidden-xs-up
    

    Will hide everything

提交回复
热议问题