<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Demo Page.</title>
<!-- Latest compiled and minified CSS -->
<link href="./css/bootstrap.css" rel="stylesheet"></link>
<!-- Optional: Include the jQuery library -->
<script src="jquery-2.1.1.js"></script>
<!-- Optional: Incorporate the Bootstrap JavaScript plugins -->
<script src="./js/bootstrap.js"></script>
</head>
<body>
<div class="container">
<h1>
Hello World!</h1>
Resize the browser window to see the effect.<br />
<div class="row">
<div class="col-sm-6" style="background-color: lavender;">
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore
et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea
commodo consequat.<br />
</div>
<div class="col-sm-6" style="background-color: lavenderblush;">
Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium,
totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt
explicabo.<br />
</div>
</div>
</div>
</body>
</html>
- Bootstrap layouts are made up of Grids and it must be placed within a div with class .container fixed-width) or .container-fluid (full-width) for proper alignment and padding.
- Neither of these containers are nestable
No comments:
Post a Comment