亚洲激情专区-91九色丨porny丨老师-久久久久久久女国产乱让韩-国产精品午夜小视频观看

溫馨提示×

溫馨提示×

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

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

bootstrap的縮略圖能否設置大小

發布時間:2020-07-09 16:21:28 來源:億速云 閱讀:288 作者:Leah 欄目:web開發

這篇文章將為大家詳細講解有關bootstrap的縮略圖能否設置大小,文章內容質量較高,因此小編分享給大家做個參考,希望大家閱讀完這篇文章后對相關知識有一定的了解。

Bootstrap 創建縮略圖的步驟如下:

1、在圖像周圍添加帶有 class .thumbnail 的 <a> 標簽.
2、這會添加四個像素的內邊距(padding)和一個灰色的邊框。

有了一個基本的縮略圖,我們可以向縮略圖添加各種 HTML 內容,比如標題、段落或按鈕。

具體步驟如下:
1、把帶有  class .thumbnail 的 <a> 標簽改為 <div>。
2、在該 <div> 內,您可以添加任何您想要添加的東西。由于這是一個 <div>,我們可以使用默認的基于 span 的命名規則來調整大小。

<!DOCTYPE html> 
<html> 
<head> 
 <title>Bootstrap 頁面標題(Page Header)</title> 
 <meta charset="utf-8"> 
 <link rel="stylesheet" href="css/bootstrap.min.css" rel="external nofollow" > 
 <style> 
  h3{ 
  color: #080808; 
  font-weight:900;  
  text-shadow:1px 1px 0px #AD55C9; 
  } 
  p{ 
  color: #6A031A; 
  size: 24px; 
  } 
 </style> 
</head> 
  
<body> 
<div class="row"> 
 <div class="col-sm-6 col-md-3"> 
  <div class="thumbnail"><img src="img/2.jpg"></div> 
  <div class="caption"> 
   <h3>漂亮的圖片</h3> 
   <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" 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" 
   role="button">點你 </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" 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-default" 
   role="button">就點你 </a> 
   </p> 
  </div> 
 </div> 
   
 <div class="col-sm-6 col-md-3"> 
  <div class="thumbnail"><img src="img/2.jpg"></div> 
  <div class="caption"> 
   <h3>漂亮的圖片</h3> 
   <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" 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" 
   role="button">點你 </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" 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-default" 
   role="button">就點你 </a> 
   </p> 
  </div> 
 </div> 
 <div class="col-sm-6 col-md-3"> 
  <div class="thumbnail"><img src="img/2.jpg"></div> 
  <div class="caption"> 
   <h3>漂亮的圖片</h3> 
   <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" 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" 
   role="button">點你 </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" 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-default" 
   role="button">就點你 </a> 
   </p> 
  </div> 
 </div> 
 <div class="col-sm-6 col-md-3"> 
  <div class="thumbnail"><img src="img/2.jpg"></div> 
  <div class="caption"> 
   <h3>漂亮的圖片</h3> 
   <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" 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" 
   role="button">點你 </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" 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-default" 
   role="button">就點你 </a> 
   </p> 
  </div> 
 </div> 
 <div class="col-sm-6 col-md-3"> 
  <div class="thumbnail"><img src="img/2.jpg"></div> 
  <div class="caption"> 
   <h3>漂亮的圖片</h3> 
   <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" 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" 
   role="button">點你 </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" 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-default" 
   role="button">就點你 </a> 
   </p> 
  </div> 
 </div><div class="col-sm-6 col-md-3"> 
  <div class="thumbnail"><img src="img/2.jpg"></div> 
  <div class="caption"> 
   <h3>漂亮的圖片</h3> 
   <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" 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" 
   role="button">點你 </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" 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-default" 
   role="button">就點你 </a> 
   </p> 
  </div> 
 </div><div class="col-sm-6 col-md-3"> 
  <div class="thumbnail"><img src="img/2.jpg"></div> 
  <div class="caption"> 
   <h3>漂亮的圖片</h3> 
   <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" 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" 
   role="button">點你 </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" 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-default" 
   role="button">就點你 </a> 
   </p> 
  </div> 
 </div><div class="col-sm-6 col-md-3"> 
  <div class="thumbnail"><img src="img/2.jpg"></div> 
  <div class="caption"> 
   <h3>漂亮的圖片</h3> 
   <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" 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" 
   role="button">點你 </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" 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-default" 
   role="button">就點你 </a> 
   </p> 
  </div> 
 </div> 
</div> 
<script src="js/jquery.min.js"></script> 
<script src="js/bootstrap.min.js"></script> 
 </body> 
</html>

效果圖:

bootstrap的縮略圖能否設置大小

關于bootstrap的縮略圖能否設置大小就分享到這里了,希望以上內容可以對大家有一定的幫助,可以學到更多知識。如果覺得文章不錯,可以把它分享出去讓更多的人看到。

向AI問一下細節

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

AI

团风县| 上饶市| 安徽省| 丹巴县| 读书| 禄丰县| 灵山县| 自治县| 吴堡县| 南溪县| 武陟县| 盐山县| 西充县| 柘荣县| 日土县| 合肥市| 毕节市| 昌平区| 桂东县| 普安县| 昌宁县| 新乐市| 海林市| 武冈市| 始兴县| 桂平市| 汨罗市| 大冶市| 广昌县| 仙游县| 江阴市| 东丽区| 宝鸡市| 梓潼县| 黎川县| 高阳县| 历史| 若尔盖县| 得荣县| 多伦县| 班戈县|