一聚教程网:一个值得你收藏的教程网站

最新下载

热门教程

Bootstrap页面标题Page Header的实现方法

时间:2017-07-15 编辑:简简单单 来源:一聚教程网

 
 代码如下复制代码
<html>
<head>
 <title>Bootstrap 页面标题(Page Header)title>
 <meta charset="utf-8">
 <link rel="stylesheet" href="css/bootstrap.min.css" rel="external nofollow" >
head>
  
<body>
<div class="jumbotron">
<div class="container">
 <div class="page-header">
 <h1>页面标题
  <small>子标题small>
 h1>
 div>
 <p>Bootstrap 页面标题(Page Header.Bootstrap 页面标题(Page Header).Bootstrap 页面标题(Page Header).Bootstrap 页面标题(Page Header).p>
div>
div>
<script src="js/jquery.min.js">script>
<script src="js/bootstrap.min.js">script>
 body>
html>
 

 如需使用页面标题(Page Header),请把标题放置在带有 class .page-header 的

中,效果图:

热门栏目