幫助類 - Helper Classes

關(guān)閉按鈕

<div class="alert alert-success">
    Close Icon Example
    <button type = "button" class = "close" data-dismiss="alert">
        ×
    </button>
</div>

倒三角

<p>Caret Example<span class = "caret"></span></p>

文本背景顏色

<p class="bg-primary">Important: Please read the instructions carefully before proceeding.</p>
......

漂浮

<div class = "pull-left">Quick Float to left</div>
<div class = "pull-right">Quick Float to right</div>

塊居中

<div class = "center-block">
    This is an example for center-block
</div>

塊的顯示和隱藏

<div class="show">This is visible to the user.</div>
<div class="hidden">This is not visible to the user.</div>
<div class="invisible">This is not visible but affects the layout.</div>

隱藏文本

隱藏文本看不見,但是可以被搜索引擎看見,同時(shí)占據(jù)一定的空間

<h1 class="text-hide">The text of this heading is not visible</h1>
<p class="text-hide">The text of this paragraph is not visible.</p>

屏幕閱讀器

其中內(nèi)容不會(huì)顯示出來,但是可以被屏幕閱讀器讀取

<p class="sr-only">This paragraph is only visible to screen readers.</p>
最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時(shí)請(qǐng)結(jié)合常識(shí)與多方信息審慎甄別。
平臺(tái)聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡(jiǎn)書系信息發(fā)布平臺(tái),僅提供信息存儲(chǔ)服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

  • 發(fā)現(xiàn) 關(guān)注 消息 iOS 第三方庫、插件、知名博客總結(jié) 作者大灰狼的小綿羊哥哥關(guān)注 2017.06.26 09:4...
    肇東周閱讀 15,380評(píng)論 4 61
  • 問答題47 /72 常見瀏覽器兼容性問題與解決方案? 參考答案 (1)瀏覽器兼容問題一:不同瀏覽器的標(biāo)簽?zāi)J(rèn)的外補(bǔ)...
    _Yfling閱讀 14,157評(píng)論 1 92
  • Android 自定義View的各種姿勢(shì)1 Activity的顯示之ViewRootImpl詳解 Activity...
    passiontim閱讀 179,063評(píng)論 25 709
  • 我們?cè)诘谖逭碌幕A(chǔ)上來優(yōu)化一下登錄成功的頁面 1.首先我們創(chuàng)建.../templates/event_manage...
    guitar_當(dāng)當(dāng)當(dāng)閱讀 444評(píng)論 0 0
  • 《刪除》 卸載了所有的通訊軟件 刪除了這么多年對(duì)自己軟弱本性的記錄 還好你改變了 《躊躇》 面前的 不是有分叉的黃...
    鹿氏九思閱讀 820評(píng)論 0 0

友情鏈接更多精彩內(nèi)容