Jumbotron is
one of the frequently used features that
are supported by the bootstrap. Jumbotron can be created in simple wa, first a
<div> with class jumbotron should
be made. In a case where addition is required and is larger is <h1> than
the font-weighted is decreased or reduced to 200px. Jumbotron is used for the
purpose of increasing the size of the headings optionally.
Example:
<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8"/>
<title>Bootstrap</title>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css"/>
</head>
<body>
<div class="container">
<div class="jumbotron">
<h1>Welcome to Nirajanghimirey’s workshop</h1>
<p>Example of Jumbotron</p>
<p><a class="btn btn-primary btn-lg" href="#" role="button">Read more</a></p>
</div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>
</body>
</html>
No comments:
Post a Comment