SlideShare a Scribd company logo
The term ‘Responsive Design’ (or anything related to design for that matter) at first may seem like a
push-over for most programmers!! CSS guru on-call!! But since the last few applications we wrote
we leveraged Bootstrap and made the PSD files provided by the designer responsive without a CSS
guru.
OK! What is responsive design?!? It is an approach aimed at crafting sites to provide an optimal
viewing experience irrespective of the device … whether the web page is projected on a 110-inch
screen for a trade-showor a 10″ tablet or even a smartphone with smaller screen size.
Move over designer … Welcome Bootstrap !! (no hard feelings to any designer … since we must
absolutely and completely co-exist for any modern application – but the point here is to have less
dependence on a designers’ eyes. )
Bootstrap is the most popular HTML, CSS, and JS framework for developing responsive, mobile
first’s projects on the web. It has featured to tackle every aspects of responsive design and able to
handle almost all controls that are used in modern we development technology. It has plug and play
functionality and with very little knowledge of HTML and Web designing you can meet the goal of
developing responsive application. The image below shows the versatility of the framework.
To use it in your environment you need three scripts to be included in your master HTML page or the
specific page you are looking to implement the responsiveness.
1. <!– Latest compiled and minified CSS –
><linkrel=”stylesheet”href=”https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.c
ss”>
2. <!– Optional theme –
><linkrel=”stylesheet”href=”https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap-
theme.min.css”>
3. <!– Latest compiled and minified JavaScript –> <script
src=”https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js”></script>
Bootstrap directory structure
It supports almost all modern browsers and below is the extensive support of Bootstrap with some
common browsers as per their documentation … you can find more here –
(http://getbootstrap.com/getting-started/)
I’m outlining our usage of the framework: We are working on an MVC 5 application to be deployed
in MS Azure platform the code for the page “_Layout.cshtml” is outlined below.
Features of Bootstrap is handled with a predefined class which you can call as per requirement and
use it with ease.
<!DOCTYPE html>
<html class=””>
<head>
<meta charset=”utf-8″ />
<meta name=”viewport” content=”width=device-width, initial-scale=1.0″>
<title>@ViewBag.Title – mGuard</title>
<link href=”~/Styles/ControlsStyle.css” rel=”stylesheet” />
@Styles.Render(“~/Content/css”)
@Scripts.Render(“~/bundles/modernizr”)
</head>
<body>
@*To Use Nav Bar*@
<div class=”navbar navbar-inverse navbar-fixed-top”>
<div class=”container”>
<div class=”navbar-header”>
<button type=”button” class=”navbar-toggle” data-toggle=”collapse”data-target=”.navbar-collapse”>
<span class=”sr-only”>Toggle navigation</span>
<span class=”icon-bar”></span>
<span class=”icon-bar”></span>
<span class=”icon-bar”></span>
</button>
<a class=”navbar-brand” href=”#”>Brand</a>
</div>
<div class=”navbar-collapse collapse”>
@if (Request.IsAuthenticated)
{
<ul class=”nav navbar-nav”>
@*To call Dropdown Feature with link buttons and its items*@
<li class=”dropdown”>
<a href=”#” class=”dropdown-toggle” data-toggle=”dropdown”role=”button” aria-
expanded=”false”>Setup <b class=”caret”></b></a>
<ul class=”dropdown-menu” role=”menu”>
<li>@Html.ActionLink(“Customer”, “Create”, “Customer”)</li>
<li>@Html.ActionLink(“Users”, “Index”, “Home”)</li>
<li>@Html.ActionLink(“Category”, “Index”, “Home”)</li>
<li>@Html.ActionLink(“Status”, “Index”, “Home”)</li>
<li>@Html.ActionLink(“Priority”, “Index”, “Home”)</li>
</ul>
</li>
<li class=”dropdown”>
<a href=”#” class=”dropdown-toggle” data-toggle=”dropdown”role=”button” aria-
expanded=”false”>User <b class=”caret”></b></a>
<ul class=”dropdown-menu” role=”menu”>
<li>@Html.ActionLink(“Login”, “Index”, “Home”)</li>
<li>@Html.ActionLink(“Forget Password”, “Index”, “Home”)</li>
<li>@Html.ActionLink(“Reset Password”, “Index”, “Home”)</li>
<li>@Html.ActionLink(“Sign Up”, “Index”, “Home”)</li>
<li>@Html.ActionLink(“Confirm Registration”, “Index”,”Home”)</li>
</ul>
</li>
<li>@Html.ActionLink(“Create Issue”, “Index”, “Home”)</li>
<li>@Html.ActionLink(“Dashboard”, “Index”, “Home”)</li>
<li>@Html.ActionLink(“Reports”, “Index”, “Home”)</li>
<li>@Html.ActionLink(“About”, “About”, “Home”)</li>
</ul>
}
@Html.Partial(“_LoginPartial”)
</div>
</div>
</div>
<div class=”container body-content”>
@RenderBody()
<hr />
<footer>
<p>&copy; @DateTime.Now.Year – Medullus Systems, LLC</p>
</footer>
</div>
@Scripts.Render(“~/bundles/jquery”)
@Scripts.Render(“~/bundles/bootstrap”)
@RenderSection(“scripts”, required: false)
</body>
</html>
When viewed on our screen in the lab
When I pull it up on my cell.
For the purposes of simplicity we have outlined a basic example of our Boot Strap initiative. There is
a lot that you can accomplish with Bootstrap. Given the traction gained by the Framework, there are
various add-ons and the development community is vibrant and ‘responsive’ too (no pun intended!). I
would recommend you to try out their playground — (http://www.bootply.com/new).
Given the ease of use and the hassle-free adaption ‘Bootstrapping’ has become a must in most (if
not all) web-apps. And if you are in a rush to make you application Live then using this framework
can buy you time to develop that fancy app!!

More Related Content

PDF
HTML & CSS - Le Wagon Bootcamp
TXT
Jackie's porfolio edited
PDF
Jquery Cheatsheet
PDF
What is jQuery?
PDF
Stop reinventing the wheel: Build Responsive Websites Using Bootstrap
PDF
Django の認証処理実装パターン / Django Authentication Patterns
PPTX
Introduction to jQuery Mobile
PPTX
Adobe & HTML5
HTML & CSS - Le Wagon Bootcamp
Jackie's porfolio edited
Jquery Cheatsheet
What is jQuery?
Stop reinventing the wheel: Build Responsive Websites Using Bootstrap
Django の認証処理実装パターン / Django Authentication Patterns
Introduction to jQuery Mobile
Adobe & HTML5

What's hot (20)

PDF
CSS framework By Palash
PDF
Introduction to web development
PPTX
Introduction to jquery mobile with Phonegap
PDF
Overview on jQuery mobile
PPT
jQuery Mobile with HTML5
PPTX
Introduction to the jQuery mobile framework
PPTX
Bootstrap [part 2]
ODP
WordPress Accessibility: WordCamp Chicago
PDF
jQueryMobile Jump Start
PPT
CMS 101 Drupal
PPT
Django CMS & Integrating it with django shop
PDF
Responsive design: techniques and tricks to prepare your websites for the mul...
PPTX
Quickstrat fusionchart
PPTX
HTML CSS and Web Development
PDF
Advanced JQuery Mobile tutorial with Phonegap
PPTX
Jquery mobile
PPT
CSS For Coders
PDF
Spca2014 hillier 3rd party_javascript_libraries
PPTX
Customize all the Things! How to customize Windows and Web applications.
PDF
Web Components: What, Why, How, and When
CSS framework By Palash
Introduction to web development
Introduction to jquery mobile with Phonegap
Overview on jQuery mobile
jQuery Mobile with HTML5
Introduction to the jQuery mobile framework
Bootstrap [part 2]
WordPress Accessibility: WordCamp Chicago
jQueryMobile Jump Start
CMS 101 Drupal
Django CMS & Integrating it with django shop
Responsive design: techniques and tricks to prepare your websites for the mul...
Quickstrat fusionchart
HTML CSS and Web Development
Advanced JQuery Mobile tutorial with Phonegap
Jquery mobile
CSS For Coders
Spca2014 hillier 3rd party_javascript_libraries
Customize all the Things! How to customize Windows and Web applications.
Web Components: What, Why, How, and When
Ad

Similar to “Good design is obvious. Great design is transparent.” — How we use Bootstrap to add responsiveness to our apps (20)

PDF
Bootstrap for webtechnology_data science.pdf
PPT
Responsive web design
PDF
Responsive Design and Bootstrap
PPTX
Reboot-Typography.pptx reboot typography to help you in research
PDF
The Ultimate Guide to Bootstrap for Beginners.pdf
PDF
Node.js 101
PPTX
Bootstrap.pptx
PDF
Introduction to Responsive Web Development
PDF
Building Responsive Websites with the Bootstrap 3 Framework
PPTX
Create Responsive Website Design with Bootstrap 3
PPTX
Twitter bootstrap
PPTX
Intro to Bootstrap
PPTX
Twitter bootstrap1
PPTX
ICT Presentjrjdjdjdkkdkeeation Final.pptx
PPTX
Bootstrap 3
PDF
Multi screen HTML5
PDF
FITC - Bootstrap Unleashed
PDF
Twitter Bootstrap, or why being a PHP Developer is a bad idea
PPTX
Bootstrap PPT by Mukesh
PPTX
Anvesh_BOOTSTRAP.pptx
Bootstrap for webtechnology_data science.pdf
Responsive web design
Responsive Design and Bootstrap
Reboot-Typography.pptx reboot typography to help you in research
The Ultimate Guide to Bootstrap for Beginners.pdf
Node.js 101
Bootstrap.pptx
Introduction to Responsive Web Development
Building Responsive Websites with the Bootstrap 3 Framework
Create Responsive Website Design with Bootstrap 3
Twitter bootstrap
Intro to Bootstrap
Twitter bootstrap1
ICT Presentjrjdjdjdkkdkeeation Final.pptx
Bootstrap 3
Multi screen HTML5
FITC - Bootstrap Unleashed
Twitter Bootstrap, or why being a PHP Developer is a bad idea
Bootstrap PPT by Mukesh
Anvesh_BOOTSTRAP.pptx
Ad

Recently uploaded (20)

PPTX
VVF-Customer-Presentation2025-Ver1.9.pptx
PDF
Understanding Forklifts - TECH EHS Solution
PPTX
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
PDF
System and Network Administration Chapter 2
PDF
PTS Company Brochure 2025 (1).pdf.......
PDF
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
PDF
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
PDF
How Creative Agencies Leverage Project Management Software.pdf
PDF
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
PDF
Navsoft: AI-Powered Business Solutions & Custom Software Development
PDF
Design an Analysis of Algorithms II-SECS-1021-03
PDF
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
PPTX
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
PDF
Digital Strategies for Manufacturing Companies
PDF
System and Network Administraation Chapter 3
PDF
Nekopoi APK 2025 free lastest update
PPTX
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
PPTX
Operating system designcfffgfgggggggvggggggggg
PDF
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PPTX
history of c programming in notes for students .pptx
VVF-Customer-Presentation2025-Ver1.9.pptx
Understanding Forklifts - TECH EHS Solution
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
System and Network Administration Chapter 2
PTS Company Brochure 2025 (1).pdf.......
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
How Creative Agencies Leverage Project Management Software.pdf
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
Navsoft: AI-Powered Business Solutions & Custom Software Development
Design an Analysis of Algorithms II-SECS-1021-03
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
Digital Strategies for Manufacturing Companies
System and Network Administraation Chapter 3
Nekopoi APK 2025 free lastest update
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
Operating system designcfffgfgggggggvggggggggg
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
history of c programming in notes for students .pptx

“Good design is obvious. Great design is transparent.” — How we use Bootstrap to add responsiveness to our apps

  • 1. The term ‘Responsive Design’ (or anything related to design for that matter) at first may seem like a push-over for most programmers!! CSS guru on-call!! But since the last few applications we wrote we leveraged Bootstrap and made the PSD files provided by the designer responsive without a CSS guru. OK! What is responsive design?!? It is an approach aimed at crafting sites to provide an optimal viewing experience irrespective of the device … whether the web page is projected on a 110-inch screen for a trade-showor a 10″ tablet or even a smartphone with smaller screen size. Move over designer … Welcome Bootstrap !! (no hard feelings to any designer … since we must absolutely and completely co-exist for any modern application – but the point here is to have less dependence on a designers’ eyes. ) Bootstrap is the most popular HTML, CSS, and JS framework for developing responsive, mobile first’s projects on the web. It has featured to tackle every aspects of responsive design and able to handle almost all controls that are used in modern we development technology. It has plug and play functionality and with very little knowledge of HTML and Web designing you can meet the goal of developing responsive application. The image below shows the versatility of the framework.
  • 2. To use it in your environment you need three scripts to be included in your master HTML page or the specific page you are looking to implement the responsiveness. 1. <!– Latest compiled and minified CSS – ><linkrel=”stylesheet”href=”https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.c ss”> 2. <!– Optional theme – ><linkrel=”stylesheet”href=”https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap- theme.min.css”> 3. <!– Latest compiled and minified JavaScript –> <script src=”https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js”></script> Bootstrap directory structure
  • 3. It supports almost all modern browsers and below is the extensive support of Bootstrap with some common browsers as per their documentation … you can find more here – (http://getbootstrap.com/getting-started/) I’m outlining our usage of the framework: We are working on an MVC 5 application to be deployed in MS Azure platform the code for the page “_Layout.cshtml” is outlined below. Features of Bootstrap is handled with a predefined class which you can call as per requirement and use it with ease. <!DOCTYPE html>
  • 4. <html class=””> <head> <meta charset=”utf-8″ /> <meta name=”viewport” content=”width=device-width, initial-scale=1.0″> <title>@ViewBag.Title – mGuard</title> <link href=”~/Styles/ControlsStyle.css” rel=”stylesheet” /> @Styles.Render(“~/Content/css”) @Scripts.Render(“~/bundles/modernizr”) </head> <body> @*To Use Nav Bar*@ <div class=”navbar navbar-inverse navbar-fixed-top”> <div class=”container”> <div class=”navbar-header”> <button type=”button” class=”navbar-toggle” data-toggle=”collapse”data-target=”.navbar-collapse”> <span class=”sr-only”>Toggle navigation</span> <span class=”icon-bar”></span> <span class=”icon-bar”></span> <span class=”icon-bar”></span> </button> <a class=”navbar-brand” href=”#”>Brand</a> </div> <div class=”navbar-collapse collapse”> @if (Request.IsAuthenticated)
  • 5. { <ul class=”nav navbar-nav”> @*To call Dropdown Feature with link buttons and its items*@ <li class=”dropdown”> <a href=”#” class=”dropdown-toggle” data-toggle=”dropdown”role=”button” aria- expanded=”false”>Setup <b class=”caret”></b></a> <ul class=”dropdown-menu” role=”menu”> <li>@Html.ActionLink(“Customer”, “Create”, “Customer”)</li> <li>@Html.ActionLink(“Users”, “Index”, “Home”)</li> <li>@Html.ActionLink(“Category”, “Index”, “Home”)</li> <li>@Html.ActionLink(“Status”, “Index”, “Home”)</li> <li>@Html.ActionLink(“Priority”, “Index”, “Home”)</li> </ul> </li> <li class=”dropdown”> <a href=”#” class=”dropdown-toggle” data-toggle=”dropdown”role=”button” aria- expanded=”false”>User <b class=”caret”></b></a> <ul class=”dropdown-menu” role=”menu”> <li>@Html.ActionLink(“Login”, “Index”, “Home”)</li> <li>@Html.ActionLink(“Forget Password”, “Index”, “Home”)</li> <li>@Html.ActionLink(“Reset Password”, “Index”, “Home”)</li> <li>@Html.ActionLink(“Sign Up”, “Index”, “Home”)</li> <li>@Html.ActionLink(“Confirm Registration”, “Index”,”Home”)</li> </ul> </li> <li>@Html.ActionLink(“Create Issue”, “Index”, “Home”)</li>
  • 6. <li>@Html.ActionLink(“Dashboard”, “Index”, “Home”)</li> <li>@Html.ActionLink(“Reports”, “Index”, “Home”)</li> <li>@Html.ActionLink(“About”, “About”, “Home”)</li> </ul> } @Html.Partial(“_LoginPartial”) </div> </div> </div> <div class=”container body-content”> @RenderBody() <hr /> <footer> <p>&copy; @DateTime.Now.Year – Medullus Systems, LLC</p> </footer> </div> @Scripts.Render(“~/bundles/jquery”) @Scripts.Render(“~/bundles/bootstrap”) @RenderSection(“scripts”, required: false) </body> </html>
  • 7. When viewed on our screen in the lab When I pull it up on my cell.
  • 8. For the purposes of simplicity we have outlined a basic example of our Boot Strap initiative. There is a lot that you can accomplish with Bootstrap. Given the traction gained by the Framework, there are various add-ons and the development community is vibrant and ‘responsive’ too (no pun intended!). I would recommend you to try out their playground — (http://www.bootply.com/new). Given the ease of use and the hassle-free adaption ‘Bootstrapping’ has become a must in most (if not all) web-apps. And if you are in a rush to make you application Live then using this framework can buy you time to develop that fancy app!!