使用Bootstrap Jumbotron
Jumbotron组件可以选择增加标题的大小,并为目标页面内容增加很多边距。
要使用它,请遵循以下给定的步骤-
用类.jumbotron创建一个容器<div>。
除了较大的<h1>之外,字体粗细也减小为200
让我们看一个例子-
示例
<!DOCTYPE html>
<html>
<head>
<title>Bootstrap Example</title>
<link href = "/bootstrap/css/bootstrap.min.css" rel = "stylesheet">
<script src = "/scripts/jquery.min.js"></script>
<script src = "/bootstrap/js/bootstrap.min.js"></script>
</head>
<body>
<div class = "container">
<div class = "jumbotron">
<h1>Welcome to first page!</h1>
<p>Example for jumbotron.</p>
<p>
<a class = "btn btn-primary btn-lg" role = "button">Button</a>
</p>
</div>
</div>
</body>
</html>热门推荐
1 训练狗狗工作
4 狗狗定点排便训练
5 狗狗训练吠叫
6 狗狗尿垫训练
7 狗狗训练座
8 狗狗训练攻略
9 狗狗训练记
10 做训练狗狗
11 狗狗训练词
12 狗狗谢谢怎么训练
13 狗狗训练如厕
14 狗狗太凶怎么训练
15 狗狗训练它
16 狗狗克制训练
17 训练基地狗狗
18 怎么样训练狗狗大小硬