Bootstrap 3.1 visible-xs and visible-sm not working together

前端 未结 4 1256
走了就别回头了
走了就别回头了 2020-12-30 19:22

I have a div that I want to show on sm and xs devices, it looks like this:


      
4条回答
  •  清酒与你
    2020-12-30 20:01

    You must add one value from:

    `.visible-*-block` for `display: block;`
    `.visible-*-inline` for `display: inline;`
    `.visible-*-inline-block` for `display: inline-block;`
    

    In this case you will have something like this:

    Keep up the good work :)

提交回复
热议问题