国产chinesehdxxxx野外,国产av无码专区亚洲av琪琪,播放男人添女人下边视频,成人国产精品一区二区免费看,chinese丰满人妻videos

Bootstrap Well

2021-10-15 13:48 更新

Bootstrap Well

Well 是一種會引起內(nèi)容凹陷顯示或插圖效果的容器 <div>。為了創(chuàng)建 Well,只需要簡單地把內(nèi)容放在帶有 class .well 的 <div> 中即可。下面的實例演示了一個默認(rèn)的 Well:

<!DOCTYPE html><html><head>
   <title>Bootstrap 實例 - 默認(rèn)的 Well</title>
   <link  rel="external nofollow" target="_blank"  rel="external nofollow" target="_blank"  rel="stylesheet">
   <script src="http://cdn.bootcss.com/jquery/2.1.1/jquery.min.js" rel="external nofollow"  rel="external nofollow" ></script>
   <script src="http://cdn.bootcss.com/bootstrap/3.3.6/js/bootstrap.min.js" rel="external nofollow"  rel="external nofollow" ></script></head><body>

 <div class="well">您好,我在 Well 中!</div></body></html>

結(jié)果如下所示:

默認(rèn)的 Well

尺寸大小

您可以使用可選類 well-lgwell-sm 來改變 Well 的尺寸大小。這兩個類是與 .well 類結(jié)合使用的。這兩個類會影響內(nèi)邊距(padding),根據(jù)使用的類,Well 會顯示得更大或者更小。

<!DOCTYPE html><html><head>
   <title>Bootstrap 實例 - Well 的尺寸大小</title>
   <link  rel="external nofollow" target="_blank"  rel="external nofollow" target="_blank"  rel="stylesheet">
   <script src="http://cdn.bootcss.com/jquery/2.1.1/jquery.min.js" rel="external nofollow"  rel="external nofollow" ></script>
   <script src="http://cdn.bootcss.com/bootstrap/3.3.6/js/bootstrap.min.js" rel="external nofollow"  rel="external nofollow" ></script></head><body><div class="well well-lg">您好,我在大的 Well 中!</div><div class="well well-sm">您好,我在小的 Well 中!</div></body></html>

結(jié)果如下所示:

Well 的尺寸大小

Well 容器練習(xí)

添加Bootstrap well容器

通過 Bootstrap 的 Well 容器,能使你創(chuàng)建的列有一種視覺深度的層次感。

在Bootstrap well容器中加按鈕

通過這個練習(xí),你可以往你所創(chuàng)建的 div 里添加按鈕標(biāo)簽。

以上內(nèi)容是否對您有幫助:
在線筆記
App下載
App下載

掃描二維碼

下載編程獅App

公眾號
微信公眾號

編程獅公眾號