使用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 祝福语驱散霉运的话简短