Bootstrap中國語マニュアル
/ Bootstrap 頁面標(biāo)題
Bootstrap 頁面標(biāo)題
頁面標(biāo)題(Page Header)是個(gè)不錯(cuò)的功能,它會(huì)在網(wǎng)頁標(biāo)題四周添加適當(dāng)?shù)拈g距。當(dāng)一個(gè)網(wǎng)頁中有多個(gè)標(biāo)題且每個(gè)標(biāo)題之間需要添加一定的間距時(shí),頁面標(biāo)題這個(gè)功能就顯得特別有用。如需使用頁面標(biāo)題(Page Header),請(qǐng)把您的標(biāo)題放置在帶有 class .page-header 的 <div> 中:
實(shí)例
<!DOCTYPE html> <html> <head> <title>Bootstrap 實(shí)例 - 頁面標(biāo)題</title> <link href="http://libs.baidu.com/bootstrap/3.0.3/css/bootstrap.min.css" rel="stylesheet"> <script src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script> <script src="http://libs.baidu.com/bootstrap/3.0.3/js/bootstrap.min.js"></script> </head> <body> <div class="page-header"> <h1>頁面標(biāo)題實(shí)例 <small>子標(biāo)題</small> </h1> </div> <p>這是一個(gè)示例文本。這是一個(gè)示例文本。這是一個(gè)示例文本。這是一個(gè)示例文本。這是一個(gè)示例文本。</p> </body> </html>
運(yùn)行實(shí)例 ?
點(diǎn)擊 "運(yùn)行實(shí)例" 按鈕查看在線實(shí)例
運(yùn)行結(jié)果如下所示: