当我的页面使用bootstrap调整为中等大小时,如何折叠我的侧边栏 [英] How to collapse my sidebar when my page is resized to medium size using bootstrap

查看:125
本文介绍了当我的页面使用bootstrap调整为中等大小时,如何折叠我的侧边栏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我的页面调整为 折叠 我的 侧栏 >中 大小使用 bootstrap

How to collapse my sidebar when my page is resized to medium size using bootstrap

推荐答案

应用一个或多个响应式实用程序类 [ ^ ]到元素。例如:

Apply one or more of the responsive utility classes[^] to the element. For example:
<div class="hidden-md">
    This is hidden on medium devices (>= 992px, < 1200px)

</div>
<div class="hidden-md hidden-sm hidden-xs">
    This is hidden on medium devices (>= 992px, < 1200px),

    small devices (>= 768px, < 992px),

    and extra-small devices (< 768px)

</div>
<div class="visible-lg-block">
    This is only visible for large devices (>= 1200px)
</div>


这篇关于当我的页面使用bootstrap调整为中等大小时,如何折叠我的侧边栏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆