Bootstrap Responsive Web Design

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. With the growing trends of different screen sizes across phones, tablets and desktops screen sizes will always be changing, so it's important that your site can adapt to any screen size, today or in the future.

Responsive web design has become more important as the amount of smart phone traffic now accounts for more than half of total internet traffic.

So, responsive web design is a preferable alternative to target a wide range of devices with much less efforts. It's automatically change layout to any screen size, whether it is a desktop, a laptop, a tablet, or a mobile phone.

Bootstrap Responsive Layout

With the release of version 3, Bootstrap has gone mobile first, building on its already responsive base. Bootstrap mobile first styles can be found throughout the library no need to add separate files. Its provides better control over the layout which rendered on different types of devices like phones, tablets, desktop and laptops devices etc.

To ensure proper rendering, add the viewport meta tag to page <head> section.

<meta name="viewport" content="width=device-width, initial-scale=1">

Bootstrap Responsive Layout Example

The following example shows single button dropdown:

<div class="row">
	<div class="col-sm-6 col-md-4 col-lg-3">
		<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-sm-6 col-md-4 col-lg-3">
		<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-sm-6 col-md-4 col-lg-3">
		<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-sm-6 col-md-4 col-lg-3">
		<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>
See Live Example