【问题标题】:hide an html div for some devices with bootstrap使用引导程序隐藏某些设备的 html div
【发布时间】:2013-09-04 01:05:09
【问题描述】:

我使用来自bootstrap 3,有一个 div,我只想在 XS 和 LG 设备中显示它。我该怎么做?

【问题讨论】:

    标签: html css twitter-bootstrap twitter-bootstrap-3


    【解决方案1】:

    使用响应式实用程序类...

    <div class="visible-lg hidden-md hidden-sm visible-xs">visible large and xs</div>
    

    演示:http://bootply.com/78724

    【讨论】:

      猜你喜欢
      • 2021-04-13
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2020-03-01
      • 1970-01-01
      • 1970-01-01
      • 2015-07-18
      • 2013-09-30
      相关资源
      最近更新 更多