使用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>热门推荐
10 新年门口花束祝福语简短
11 盘锦结婚祝福语大全简短
12 父母生日祝福语 简短独特
13 家庭恩爱祝福语简短英文
14 高考俄语祝福语大全简短
15 虎年祝福语 诗句唯美简短
16 生日婚礼祝福语简短精辟
17 虎年喝酒拜年祝福语简短
18 教师闺蜜祝福语简短