How to create Bootstrap Container-fluid Code - WPB Tutorials

Wednesday, 21 February 2018

How to create Bootstrap Container-fluid Code

Download Bootstrap




The .container-fluid class provides a full width container, spanning the entire width of the viewport

Code:
<!DOCTYPE html>
<html lang="en">
<head>
<title>Bootstarp Example</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<link href="css/bootstrap.min.css" rel="stylesheet">
<script src="js/bootstrap.min.js"></script>
</head>
<body>

<div class="container-fluid">
<h2>This is my first Bootstrap Example</h2>
<p>This is container-fluid code</p>
</div>


</body>
</html>


No comments:

Post a Comment

HTML Elements