Bootstrap Fixed Layout


In previous version of Bootstrap (version 2), you had to use row-fluid inside a fluid container and row inside a fixed container. In Bootstrap 3, row-fluid was removed and no longer use it. Bootstrap 3, media queries are all included. You just need to decide if you want to use a fixed width or fluid width layout for your page.

Create Fixed Layout

The process of creating the fixed yet responsive layout starts with the .container class. Next, add rows within a .container using .row class. Further column can be created using grid classes like .col-xs-*, .col-sm-*, .col-md-*,.col-lg-* . Here '*' represent grid number.

Bootstrap Fixed Layout Example

The following example shows single button dropdown:

<div class="container">
	<div class="jumbotron">
		<h1>Bootstrap Responsive Layout </h1>
		<p>In web world, responsive web is an approach to design web application that 
		can adapts the layout to the viewing environment. 
		
		In other word, responsive web design is an 
		approach to maximize the accessibility and user experience.</p>
		<p><a href="#" target="_blank" 
		class="btn btn-info btn-lg">Continue...</a></p>
	</div>
	<div class="row">
		<div class="col-xs-4">
			<h2>AngularJS</h2>
			<p>AngularJS is a powerful Javascript framework to provide complete client-side 
			solution, specially when you building single-page web applications. AngularJS introduce 
			new attributes to extend the HTML controls features.</p>
			<p><a href="http://www.techstrikers.com/AngularJS/angularjs-tutorial.php"  
			class="btn btn-danger">Learn More »</a></p>
		</div>
		<div class="col-xs-4">
			<h2>Javascript</h2>
			<p>A JavaScript consists of JavaScript statements that are placed within the 
			<script>... </script> HTML tags in a web page. You can place the <script> 
			tag containing your JavaScript anywhere within your 
			web page and keep it within the <head> tags. 
			The <script> tag alert the browser program to begin interpreting all 
			the text between these tags as a script.</p>
			<p><a href="http://www.techstrikers.com/Javascript/javascript-tutorial.php"  
			class="btn btn-info">Learn More »</a></p>
		</div>
		<div class="col-xs-4">
			<h2>Bootstrap</h2>
			<p>Bootstrap is a front-end open source framework for web application design which 
			consists of HTML, CSS, and JavaScript for developing responsive, mobile-first website. Bootstrap, 
			originally named Twitter Blueprint framework and was developed 
			by Mark Otto and Jacob Thornton at Twitter. 
			Bootstrap is completely free to download and use!</p>
			<p><a href="#http://www.techstrikers.com/Bootstrap/index.php"  
			class="btn btn-warning">Learn More »</a></p>
		</div>
	  <div class="col-xs-4">
			<h2>HTML5</h2>
			<p>HTML5 is the most recent and updated version of HTML. 
			It is the next version of the HTML4. 
			HTML5 is still not an official W3C standard. 
			HTML5 has introduced new tags which include article, audio, video, 
			canvas and lot many more. With the help of HTML5 you can now play any 
			video or audio without downloading any additional plugins on your web page.</p>
			<p><a href="http://www.techstrikers.com/HTML5/html5-tutorial.php"  
			class="btn btn-primary">Learn More »</a></p>
		</div>
	</div>
	<hr>
	<div class="row">
		<div class="col-xs-12">
			<footer>
				<p>© Copyright 2015 - 2016 www.techstrikers.com</p>
			</footer>
		</div>
	</div>
</div>
Try Now

The above Bootstrap Fixed Layout example will produce below output:


See Also

AngularJS Built-in Filters
AngularJS Built-in Directives
AngularJS Expression
AngularJS Built-in Events
AngularJS Scope Methods
AngularJS Built-in Services
AngularJS Controller Inheritance
AngularJS Custom Directives



 
 
SHARE THIS IF YOU LIKE!
submit to reddit

SUBSCRIBE FOR LATEST UPDATES
HAVE WE CONNECTED ON FACEBOOK?
TOP TUTORIALSTOP CODE EXAMPLESTOP LIVE DEMOLINKSSTAY CONNECTED
HTML Tutorial
HTML5 Tutorial
Bootstrap3 Tutorial
Javascript Tutorial
TypeScript Tutorial
AngularJS Tutorial
CSharp Tutorial
PHP Tutorial
Developer Tools
Javascript
AngularJS
Google MAP API V3
ASP.NET
Javascript
AngularJS
Google MAP API V3
Contact Us
Advertise with Us
Privacy Policy
Disclaimer
Stay connected. We actually like you. If you want to get up to the minute updates, then connect with us on your fav below.
 
Twitter   Linkedin   Facebook   Google+    RSS   Pinterest
 
Protected by Copyscape Original Content Checker
 
 
Copyright ©2017 www.techstrikers.com Unauthorized reproduction/replication of any part of this site is prohibited.