91超碰碰碰碰久久久久久综合_超碰av人澡人澡人澡人澡人掠_国产黄大片在线观看画质优化_txt小说免费全本

溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

Bootstrap筆記之縮略圖、警告框實例詳解

發布時間:2020-08-27 20:06:07 來源:腳本之家 閱讀:125 作者:erdouzhang 欄目:web開發

 1. 基礎縮略圖

Bootstrap筆記之縮略圖、警告框實例詳解

給a標簽添加類class="thumbnail"如下:

<div class="row">
  <div class="col-md-3 col-sm-6">
    <a href="#" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" class="thumbnail"><img src="img/01.png" alt="圖片"></a>
  </div>
  <div class="col-md-3 col-sm-6">
    <a href="#" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" class="thumbnail"><img src="img/01.png" alt="圖片"></a>
  </div>
  <div class="col-md-3 col-sm-6">
    <a href="#" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" class="thumbnail"><img src="img/01.png" alt="圖片"></a>
  </div>
  <div class="col-md-3 col-sm-6">
    <a href="#" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" class="thumbnail"><img src="img/01.png" alt="圖片"></a>
  </div>
</div>

2.縮略圖添加內容

Bootstrap筆記之縮略圖、警告框實例詳解

<div class="row">
  <div class="col-md-4 col-sm-6">
    <div class="thumbnail">
      <a href="#" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" ><img src="img/01.png" alt="圖片"></a>
      <div class="caption">
        <h4>我是圖片標題</h4>
        <p>我是對圖片的描述我是對圖片的描述我是對圖片的描述</p>
        <p><a href="#" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" class="btn btn-primary">按鈕</a><a href="#" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" class="btn btn-danger">按鈕</a></p>
      </div>
    </div>
  </div>
</div>

3.警告框

Bootstrap筆記之縮略圖、警告框實例詳解

點擊右上角叉號就關閉警示框。可以更改背景色alert-warning、alert-info、alert-success、alert-danger

可關閉的警示框添加類;alert-dismissible和按鈕button.

也可以在警告框中添加a鏈接:

<p>這里是提示信息<a href="#" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" class="alert-link">百度</a></p>

<div class="alert alert-warning alert-dismissible">
  <button type="button" class="close" data-dismiss="alert">&times;</button>
  <p>這里是提示信息</p>
</div>

以上所述是小編給大家介紹的 Bootstrap筆記之縮略圖、警告框實例詳解,希望對大家有所幫助,如果大家有任何疑問請給我留言,小編會及時回復大家的。在此也非常感謝大家對億速云網站的支持!

向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

芦山县| 鹿邑县| 文安县| 双牌县| 名山县| 青田县| 都安| 防城港市| 云霄县| 石景山区| 云安县| 邵阳市| 兴安盟| 阿坝县| 城市| 宁德市| 新兴县| 延庆县| 盘山县| 吉首市| 扶沟县| 岚皋县| 柳林县| 新巴尔虎左旗| 合山市| 会泽县| 宁陵县| 宣恩县| 永吉县| 柏乡县| 台江县| 井冈山市| 阿巴嘎旗| 麻栗坡县| 平远县| 宝山区| 清河县| 鲁山县| 保亭| 全南县| 万盛区|