欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

Bootstrap CSS組件之大屏幕展播

 更新時(shí)間:2016年12月17日 11:03:46   作者:github_34514750  
這篇文章主要介為大家詳細(xì)紹了Bootstrap CSS組件之大屏幕展播的相關(guān)資料,具有一定的參考價(jià)值,感興趣的小伙伴們可以參考一下

在設(shè)計(jì)網(wǎng)頁(yè)布局的時(shí)候,經(jīng)常會(huì)有大屏內(nèi)容的顯示jumbotron

顧名思義該組件可以增加標(biāo)題的大小,并為登陸頁(yè)面內(nèi)容添加更多的外邊距(margin)。

源碼中可以看出:

如果jumbotron放在container樣式內(nèi),則顯示圓角;如果不放在里邊,則不會(huì)顯示圓角。

<!DOCTYPE html>
<html lang="en">
 <head>
 <meta charset="utf-8">
 <meta http-equiv="X-UA-Compatible" content="IE=edge">
 <!-- Bootstrap從3.0版本開始全面支持移動(dòng)平臺(tái),貫徹移動(dòng)先行宗旨 -->
 <meta name="viewport" content="width=device-width, initial-scale=1">

 <title>Bootstrap 101 Template</title>

 <!-- Bootstrap -->
 <link href="bootstrap-3.3.7-dist/css/bootstrap.min.css" rel="stylesheet">

 </head>
 <body>
  <!-- 超大屏幕jumbotron:
   1.創(chuàng)建一個(gè)帶有 class .jumbotron. 的容器 <div>
   2.除了更大的 <h1>,字體粗細(xì) font-weight 被減為 200-->
  <div class="jumbotron">
   <h1>Hello,world!</h1>
   <p>This is a simple hero unit.</p>
   <p><button class="btn btn-primary">Learn more</button></p>
  </div>

 <!-- bootstrap是基于jQuery-->
 <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
 <script src="bootstrap-3.3.7-dist/js/bootstrap.min.js"></script>
 </body>
</html>

以上就是本文的全部?jī)?nèi)容,希望對(duì)大家的學(xué)習(xí)有所幫助,也希望大家多多支持腳本之家。

相關(guān)文章

最新評(píng)論