English 中文(简体)
2. 诱杀装置对公用事业类的使用
原标题:Twitter Bootstrap responsive utility class usage

如何使用Twitter Boots 等响应性公用事业类别。 我尝试在“诱杀装置”网站上学习这一榜样。

<span class="visible-desktop">✔ Desktop</span>

∗ ∗

<span class="visible-desktop">
  <img src="<%=(image_path( green.jpg ))%>"></img>
</span>

但是,当我把浏览器窗缩小到表层或电话规模时,形象就依然存在。

问题回答

比如,有人想用Bootsdorf 3.0做这件事。 这些班级已经改变:

.visible-desktop became .visible-lg

<代码>hidden-phone改为.hidden-sm

<代码>hidden-tablet改为.hidden-md

.hidden-desktop became .hidden-lg

使用:

<span class= hidden-sm hidden-md visible-lg >

可查阅

This is a great diagram explaining how to use these in bootstrap 3.1

enter image description here

这对我来说是有用的。

电话:.hidden-phone and .hidden-tabletspan 同类:

<span class="visible-desktop hidden-phone hidden-tablet"> </span>

你们是否复制了你的法典? 因为你有打字体......

<span class="visable-desktop">

应当:

<span class="visible-desktop">




相关问题
How to import Bootstrap JS with HTML5 reusable web components

RESOLVED: see my solution in a comment TL;DR: Can t get bootstrap s JS to trigger, suspect that I m importing the JS scripts wrong I ve been trying to get Bootstrap to work properly with my custom ...

Bootstrap scrollable table with fixed header

I want to create a table with a lot of data. To keep it all sorted out, I want the table to be scrollable. I use bootstrap to pimp up the table. I know this question is asked before and the solution ...

What is a CSS framework?

Can anyone tell me about CSS frameworks, and how to use them?

模块boot如何为违约模块工作?

我用两个单元确定我的申请,一个单元是关于阿明的,另一个单元是所谓的缺省。 然后,我为阿明模块创建了一个诱杀装置档案,当我试图确定......时。