Bootstrap 在移动设备上隐藏一些 colls

Bootstrap hide some colls on mobile

我想在桌面上仅在移动设备上显示所有列 (5) 3。可以使用标准 bootstrap 类 吗?

 <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
       <div class=" col-lg-2 col-md-2 col-centered " style="text-align: center; margin-right: 10px; overflow: hidden">
          <a href="">
          <img src="http://192.168.0.185/image/cache/data/pigu_final-100x100.png" alt="">
          </a>
       </div>
       <div class=" col-lg-2 col-md-2 col-centered " style="text-align: center; margin-right: 10px; overflow: hidden">
          <a href="">
          <img src="http://192.168.0.185/image/cache/data/gelezinis_final1-100x100.png" alt="">
          </a>
       </div>
       <div class=" col-lg-2 col-md-2 col-centered " style="text-align: center; margin-right: 10px; overflow: hidden">
          <a href="">
          <img src="http://192.168.0.185/image/cache/data/teo_final-100x100.png" alt="">
          </a>
       </div>
       <div class=" col-lg-2 col-md-2 col-centered " style="text-align: center; margin-right: 10px; overflow: hidden">
          <a href="">
          <img src="http://192.168.0.185/image/cache/data/teo_final-100x100.png" alt="">
          </a>
       </div>
       <div class=" col-lg-2 col-md-2 col-centered " style="text-align: center; margin-right: 10px; overflow: hidden">
          <a href="">
          <img src="http://192.168.0.185/image/cache/data/teo_final-100x100.png" alt="">
          </a>
       </div>
    </div>

是的,你可以通过 hidden-xs class: 请检查代码笔: codepen.io/anon/pen/JYMNvj

  <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
       <div class=" col-lg-2 col-md-2 col-centered " style="text-align: center; margin-right: 10px; overflow: hidden">
          <a href="">
          <img src="http://192.168.0.185/image/cache/data/pigu_final-100x100.png" alt="">
          </a>
       </div>
       <div class=" col-lg-2 col-md-2 col-centered " style="text-align: center; margin-right: 10px; overflow: hidden">
          <a href="">
          <img src="http://192.168.0.185/image/cache/data/gelezinis_final1-100x100.png" alt="">
          </a>
       </div>
       <div class=" col-lg-2 col-md-2 col-centered " style="text-align: center; margin-right: 10px; overflow: hidden">
          <a href="">
          <img src="http://192.168.0.185/image/cache/data/teo_final-100x100.png" alt="">
          </a>
       </div>
       <div class=" col-lg-2 col-md-2 hidden-sm hidden-xs col-centered " style="text-align: center; margin-right: 10px; overflow: hidden">
          <a href="">
          <img src="http://192.168.0.185/image/cache/data/teo_final-100x100.png" alt="">
          </a>
       </div>
       <div class=" col-lg-2 col-md-2 hidden-sm hidden-xs col-centered " style="text-align: center; margin-right: 10px; overflow: hidden">
          <a href="">
          <img src="http://192.168.0.185/image/cache/data/teo_final-100x100.png" alt="">
          </a>
       </div>
    </div>

它将在小型和移动设备上隐藏最后两列 如果你想让它在小型设备上可见,你可以删除 hidden-sm