SlideShare a Scribd company logo
1 of 17
An Introduction To
Bootstrap
By: Jai Shrivastav
Topics
• Bootstrap Introduction
• Scaffolding
• CSS
• Layout Component
2
Bootstrap Introduction
• Bootstrap was released in August 2011 by Twitter.
• It is an open source product, developed by Mark Otto
and Jacob Thornton.
• It was developed to standardize the frontend toolsets of
engineers across the company.
• Most exciting feature of bootstrap is that it allows to build
responsive web designs.
• The websites like Toyota.com,Appsetter, Quicklinkr &
many more are designed using bootstrap.
3
Bootstrap Scaffolding
• File Structure
• Grid System
• Layout
• Responsive Design
4
File Structure
• File Structure of Bootstrap:
– bootstrap/
– css/
» bootstrap.css
» bootstrap.min.css
– js/
» bootstrap.js
» bootstrap.min.js
– img/
» glyphicons-halflings.png
» glyphicons-halflings-white.png
– README.md
5
• To use bootstrap we include the link to the CSS
stylesheet and the JavaScript:
<link href="css/bootstrap.min.css" rel="stylesheet">
<script src="js/bootstrap.min.js"></script>
6
Grid System
• Grid can be of two types:
– Fixed Grid
– Fluid Grid
• The default (fixed) Bootstrap grid system utilizes 12
columns, making for a 940px-wide container without
responsive features enabled. With the responsive CSS
file added, the grid adapts to be 724px or 1170px wide,
depending on your viewport.
• An example of the 12 possible columns is in below given
figure.
7
• To create a simple layout, create a container with a
<div> that has a class of .row and add the appropriate
amount of .span* columns. Since we have a 12-column
grid, we just need the amount of .span* columns to equal
12.
8
<div class="row">
<div class="span8">...</div>
<div class="span4">...</div>
</div>
• Nesting Columns: To nest your content with the
default grid, inside of a .span*, simply add a new .row
with enough .span* that it equals the number of spans
of the parent container
9
<div class="row">
<div class="span9">
Level 1 of column
<div class="row">
<div class="span6">Level 2</div>
<div class="span3">Level 2</div>
</div>
</div>
</div>
10
• Fluid Grid System: The fluid grid system uses
percentages instead of pixels for column widths. It has the
same responsive capabilities as our fixed grid system,
ensuring proper proportions for key screen resolutions
and devices. You can make any row “fluid” by changing
.row to .row-fluid.
• Nesting Fluid Grid: It is slightly different
<div class="row-fluid">
<div class="span8">
<div class="row">
<div class="span6">...</div>
<div class="span6">...</div>
</div>
</div>
</div> 11
Container Layouts
• To add a fixed-width, centered layout to your page,
simply wrap the content in
<div class="container">...</div>.
• If you would like to use a fluid layout but want to wrap
everything in a container, use the following:
<div class="container-fluid">...</div>.
12
Responsive Design
• Responsive design is a method for taking all of
the existing content that is on the page and
optimizing it for the device that is viewing it.
• To target these different widths, Bootstrap uses
CSS media queries to measure the width of the
browser viewport and then, using conditionals,
changes which parts of the stylesheets are
loaded. Using the width of the browser viewport,
Bootstrap can then optimize the content using a
combination of ratios or widths, but it mostly
relies on min-width and max-width properties.
13
• To turn on the responsive features of Bootstrap, you need
to add a <meta> tag to the <head> of your web page. If
you haven’t downloaded the compiled source, you will
also need to add the responsive CSS file. An example of
required files looks like this:
<!DOCTYPE html>
<html>
<head>
<title>My amazing Bootstrap site!</title>
<meta name="viewport" content="width=device-width,
initial- scale=1.0">
<link href="/css/bootstrap.css" rel="stylesheet">
<link href="/css/bootstrap-responsive.css"
rel="stylesheet">
</head>
14
Bootstrap CSS
• It provide styles for common HTML elements like
typography, code, tables, forms, buttons & plus includes
Glyphicons, icon set.
• For example, it provide four classes to style a table:
.table-striped, .table-bordered, .table-hover, and .table-
condensed.
15
Bootstrap Layout Component
• Bootstrap provides a toolkit of flexible components
that can be used in designing application
interfaces, web features, and more.
• Dropdown Menus:
The following code creates a basic dropdown
menu:
<ul class="dropdown-menu" role="menu" aria- labelledby
="dropdownMenu">
<li><a tabindex="-1" href="#">Action</a></li>
<li><a tabindex="-1" href="#">Another action</a></li>
<li><a tabindex="-1" href="#">Something else here</a></li>
<li class="divider"></li>
<li><a tabindex="-1" href="#">Separated link</a></li>
</ul>
16
• Button Groups: class=‘btn-group’
• Navigation Elements : class=‘nav’
• Pagination: class=‘pagination’.
17

More Related Content

What's hot

(Fast) Introduction to HTML & CSS
(Fast) Introduction to HTML & CSS (Fast) Introduction to HTML & CSS
(Fast) Introduction to HTML & CSS Dave Kelly
 
Bootstrap Part - 1
Bootstrap Part - 1Bootstrap Part - 1
Bootstrap Part - 1EPAM Systems
 
Html5 tutorial for beginners
Html5 tutorial for beginnersHtml5 tutorial for beginners
Html5 tutorial for beginnersSingsys Pte Ltd
 
Bootstrap 3
Bootstrap 3Bootstrap 3
Bootstrap 3Lanh Le
 
Introduction to Bootstrap
Introduction to BootstrapIntroduction to Bootstrap
Introduction to BootstrapRon Reiter
 
Introduction to web programming with JavaScript
Introduction to web programming with JavaScriptIntroduction to web programming with JavaScript
Introduction to web programming with JavaScriptT11 Sessions
 
Introduction to Javascript
Introduction to JavascriptIntroduction to Javascript
Introduction to JavascriptAmit Tyagi
 
Bootstrap 5 whats new
Bootstrap 5   whats newBootstrap 5   whats new
Bootstrap 5 whats newSandun Perera
 
Lab #2: Introduction to Javascript
Lab #2: Introduction to JavascriptLab #2: Introduction to Javascript
Lab #2: Introduction to JavascriptWalid Ashraf
 
New Elements & Features in CSS3
New Elements & Features in CSS3New Elements & Features in CSS3
New Elements & Features in CSS3Jamshid Hashimi
 
Bootstrap 4 Tutorial PDF for Beginners - Learn Step by Step
Bootstrap 4 Tutorial PDF for Beginners - Learn Step by StepBootstrap 4 Tutorial PDF for Beginners - Learn Step by Step
Bootstrap 4 Tutorial PDF for Beginners - Learn Step by StepBootstrap Creative
 
HTML Semantic Elements
HTML Semantic ElementsHTML Semantic Elements
HTML Semantic ElementsReema
 
Introduction to HTML and CSS
Introduction to HTML and CSSIntroduction to HTML and CSS
Introduction to HTML and CSSMario Hernandez
 

What's hot (20)

Bootstrap
BootstrapBootstrap
Bootstrap
 
Bootstrap 5 ppt
Bootstrap 5 pptBootstrap 5 ppt
Bootstrap 5 ppt
 
(Fast) Introduction to HTML & CSS
(Fast) Introduction to HTML & CSS (Fast) Introduction to HTML & CSS
(Fast) Introduction to HTML & CSS
 
Bootstrap Part - 1
Bootstrap Part - 1Bootstrap Part - 1
Bootstrap Part - 1
 
Html5 tutorial for beginners
Html5 tutorial for beginnersHtml5 tutorial for beginners
Html5 tutorial for beginners
 
HTML5
HTML5HTML5
HTML5
 
Bootstrap 3
Bootstrap 3Bootstrap 3
Bootstrap 3
 
Introduction to Bootstrap
Introduction to BootstrapIntroduction to Bootstrap
Introduction to Bootstrap
 
Bootstrap 4 ppt
Bootstrap 4 pptBootstrap 4 ppt
Bootstrap 4 ppt
 
Introduction to web programming with JavaScript
Introduction to web programming with JavaScriptIntroduction to web programming with JavaScript
Introduction to web programming with JavaScript
 
Bootstrap ppt
Bootstrap pptBootstrap ppt
Bootstrap ppt
 
Introduction to Javascript
Introduction to JavascriptIntroduction to Javascript
Introduction to Javascript
 
HTML
HTMLHTML
HTML
 
Bootstrap 5 whats new
Bootstrap 5   whats newBootstrap 5   whats new
Bootstrap 5 whats new
 
Lab #2: Introduction to Javascript
Lab #2: Introduction to JavascriptLab #2: Introduction to Javascript
Lab #2: Introduction to Javascript
 
New Elements & Features in CSS3
New Elements & Features in CSS3New Elements & Features in CSS3
New Elements & Features in CSS3
 
Bootstrap 4 Tutorial PDF for Beginners - Learn Step by Step
Bootstrap 4 Tutorial PDF for Beginners - Learn Step by StepBootstrap 4 Tutorial PDF for Beginners - Learn Step by Step
Bootstrap 4 Tutorial PDF for Beginners - Learn Step by Step
 
HTML Semantic Elements
HTML Semantic ElementsHTML Semantic Elements
HTML Semantic Elements
 
Express js
Express jsExpress js
Express js
 
Introduction to HTML and CSS
Introduction to HTML and CSSIntroduction to HTML and CSS
Introduction to HTML and CSS
 

Similar to An introduction to bootstrap

Twitter bootstrap training_session_ppt
Twitter bootstrap training_session_pptTwitter bootstrap training_session_ppt
Twitter bootstrap training_session_pptRadheshyam Kori
 
Lect-4-Responsive-Web-06032024-082044am.pptx
Lect-4-Responsive-Web-06032024-082044am.pptxLect-4-Responsive-Web-06032024-082044am.pptx
Lect-4-Responsive-Web-06032024-082044am.pptxzainm7032
 
ViA Bootstrap 4
ViA Bootstrap 4ViA Bootstrap 4
ViA Bootstrap 4imdurgesh
 
Introduction to Responsive Web Development
Introduction to Responsive Web DevelopmentIntroduction to Responsive Web Development
Introduction to Responsive Web DevelopmentNikhil Baby
 
Create Responsive Website Design with Bootstrap 3
Create Responsive Website Design with Bootstrap 3Create Responsive Website Design with Bootstrap 3
Create Responsive Website Design with Bootstrap 3Wahyu Putra
 
Battle of the Front-End Frameworks: Bootstrap vs. Foundation
Battle of the Front-End Frameworks: Bootstrap vs. FoundationBattle of the Front-End Frameworks: Bootstrap vs. Foundation
Battle of the Front-End Frameworks: Bootstrap vs. FoundationRachel Cherry
 
Know the reason behind choosing bootstrap as css framework
Know the reason behind choosing bootstrap as css frameworkKnow the reason behind choosing bootstrap as css framework
Know the reason behind choosing bootstrap as css frameworkOmkarsoft Bangalore
 
Bootstrap webtech presentation - new
Bootstrap   webtech presentation - newBootstrap   webtech presentation - new
Bootstrap webtech presentation - newWebtech Learning
 
Implementation of gui framework part2
Implementation of gui framework part2Implementation of gui framework part2
Implementation of gui framework part2masahiroookubo
 
Twitter bootstrap (css, components and javascript)
Twitter bootstrap (css, components and javascript)Twitter bootstrap (css, components and javascript)
Twitter bootstrap (css, components and javascript)NexThoughts Technologies
 
Bootstrap for Beginners
Bootstrap for BeginnersBootstrap for Beginners
Bootstrap for BeginnersD'arce Hess
 
Node.js 101
 Node.js 101 Node.js 101
Node.js 101FITC
 

Similar to An introduction to bootstrap (20)

Bootstrap [part 1]
Bootstrap [part 1]Bootstrap [part 1]
Bootstrap [part 1]
 
Twitter bootstrap training_session_ppt
Twitter bootstrap training_session_pptTwitter bootstrap training_session_ppt
Twitter bootstrap training_session_ppt
 
BOTSTRAP.ppt
BOTSTRAP.pptBOTSTRAP.ppt
BOTSTRAP.ppt
 
Bootstrap
Bootstrap Bootstrap
Bootstrap
 
Responsive web design
Responsive web designResponsive web design
Responsive web design
 
Lect-4-Responsive-Web-06032024-082044am.pptx
Lect-4-Responsive-Web-06032024-082044am.pptxLect-4-Responsive-Web-06032024-082044am.pptx
Lect-4-Responsive-Web-06032024-082044am.pptx
 
ViA Bootstrap 4
ViA Bootstrap 4ViA Bootstrap 4
ViA Bootstrap 4
 
Introduction to Responsive Web Development
Introduction to Responsive Web DevelopmentIntroduction to Responsive Web Development
Introduction to Responsive Web Development
 
Create Responsive Website Design with Bootstrap 3
Create Responsive Website Design with Bootstrap 3Create Responsive Website Design with Bootstrap 3
Create Responsive Website Design with Bootstrap 3
 
Battle of the Front-End Frameworks: Bootstrap vs. Foundation
Battle of the Front-End Frameworks: Bootstrap vs. FoundationBattle of the Front-End Frameworks: Bootstrap vs. Foundation
Battle of the Front-End Frameworks: Bootstrap vs. Foundation
 
Web technologies part-2
Web technologies part-2Web technologies part-2
Web technologies part-2
 
Know the reason behind choosing bootstrap as css framework
Know the reason behind choosing bootstrap as css frameworkKnow the reason behind choosing bootstrap as css framework
Know the reason behind choosing bootstrap as css framework
 
Bootstrap webtech presentation - new
Bootstrap   webtech presentation - newBootstrap   webtech presentation - new
Bootstrap webtech presentation - new
 
Bootstrap 3.1.1
Bootstrap 3.1.1Bootstrap 3.1.1
Bootstrap 3.1.1
 
Implementation of gui framework part2
Implementation of gui framework part2Implementation of gui framework part2
Implementation of gui framework part2
 
HowTo_CSS
HowTo_CSSHowTo_CSS
HowTo_CSS
 
HowTo_CSS
HowTo_CSSHowTo_CSS
HowTo_CSS
 
Twitter bootstrap (css, components and javascript)
Twitter bootstrap (css, components and javascript)Twitter bootstrap (css, components and javascript)
Twitter bootstrap (css, components and javascript)
 
Bootstrap for Beginners
Bootstrap for BeginnersBootstrap for Beginners
Bootstrap for Beginners
 
Node.js 101
 Node.js 101 Node.js 101
Node.js 101
 

More from Mind IT Systems

Role of IT Staff Augmentation in Overcoming Software Development Challenges
Role of IT Staff Augmentation in Overcoming Software Development ChallengesRole of IT Staff Augmentation in Overcoming Software Development Challenges
Role of IT Staff Augmentation in Overcoming Software Development ChallengesMind IT Systems
 
React Native - Why to choose it for your MVP Development
React Native - Why to choose it for your MVP DevelopmentReact Native - Why to choose it for your MVP Development
React Native - Why to choose it for your MVP DevelopmentMind IT Systems
 
Top Software Development Trends in 2024
Top Software Development Trends in  2024Top Software Development Trends in  2024
Top Software Development Trends in 2024Mind IT Systems
 
Flutter the Future of Mobile App Development - 5 Crucial Reasons.pdf
Flutter the Future of Mobile App Development - 5 Crucial Reasons.pdfFlutter the Future of Mobile App Development - 5 Crucial Reasons.pdf
Flutter the Future of Mobile App Development - 5 Crucial Reasons.pdfMind IT Systems
 
Hybrid App Development Benefits and Challenges
Hybrid App Development Benefits and ChallengesHybrid App Development Benefits and Challenges
Hybrid App Development Benefits and ChallengesMind IT Systems
 
Offshore Development Services - The Key to Cost Effective Solutions
Offshore Development Services - The Key to Cost Effective SolutionsOffshore Development Services - The Key to Cost Effective Solutions
Offshore Development Services - The Key to Cost Effective SolutionsMind IT Systems
 
Node JS as Backend Technology - Reasons & Trends in 2024
Node JS as Backend Technology - Reasons & Trends in 2024Node JS as Backend Technology - Reasons & Trends in 2024
Node JS as Backend Technology - Reasons & Trends in 2024Mind IT Systems
 
Top 10 Fintech Trends for 2024
Top 10 Fintech Trends for 2024Top 10 Fintech Trends for 2024
Top 10 Fintech Trends for 2024Mind IT Systems
 
Best Mobile App Development Frameworks in 2024
Best Mobile App Development Frameworks in 2024Best Mobile App Development Frameworks in 2024
Best Mobile App Development Frameworks in 2024Mind IT Systems
 
Why do Businesses need to Pay Attention to Frontend Development?
Why do Businesses need to Pay Attention to Frontend Development?Why do Businesses need to Pay Attention to Frontend Development?
Why do Businesses need to Pay Attention to Frontend Development?Mind IT Systems
 
Tips on Hiring ​Full-Stack Developers for Your Business
Tips on Hiring ​Full-Stack Developers for Your BusinessTips on Hiring ​Full-Stack Developers for Your Business
Tips on Hiring ​Full-Stack Developers for Your BusinessMind IT Systems
 
Top 5 Reasons to Employ Flutter App Development for Your Next App
Top 5 Reasons to Employ Flutter App Development for Your Next AppTop 5 Reasons to Employ Flutter App Development for Your Next App
Top 5 Reasons to Employ Flutter App Development for Your Next AppMind IT Systems
 
Hire Web Developer in India A Decisive Guide
Hire Web Developer in India A Decisive GuideHire Web Developer in India A Decisive Guide
Hire Web Developer in India A Decisive GuideMind IT Systems
 
How to Find and Hire the Best App Developers in India - Mind IT Systems
How to Find and Hire the Best App Developers in India - Mind IT SystemsHow to Find and Hire the Best App Developers in India - Mind IT Systems
How to Find and Hire the Best App Developers in India - Mind IT SystemsMind IT Systems
 
Whether Flutter or Xamarin - Which is Better for 2023 - Mind It Systems
Whether Flutter or Xamarin - Which is Better for 2023 - Mind It SystemsWhether Flutter or Xamarin - Which is Better for 2023 - Mind It Systems
Whether Flutter or Xamarin - Which is Better for 2023 - Mind It SystemsMind IT Systems
 
Why digital transformation strategy is essential for businesses?
Why digital transformation strategy is essential for businesses?Why digital transformation strategy is essential for businesses?
Why digital transformation strategy is essential for businesses?Mind IT Systems
 
Digital Transformation Trends Of 2023 Businesses Must Keep an Eye On
Digital Transformation Trends Of 2023 Businesses Must Keep an Eye OnDigital Transformation Trends Of 2023 Businesses Must Keep an Eye On
Digital Transformation Trends Of 2023 Businesses Must Keep an Eye OnMind IT Systems
 
React Native App Development - 5 Major Reasons to choose it for your Business
React Native App Development - 5 Major Reasons to choose it for your BusinessReact Native App Development - 5 Major Reasons to choose it for your Business
React Native App Development - 5 Major Reasons to choose it for your BusinessMind IT Systems
 
The rise of Web 3.0 and its benefits for businesses
The rise of Web 3.0 and its benefits for businessesThe rise of Web 3.0 and its benefits for businesses
The rise of Web 3.0 and its benefits for businessesMind IT Systems
 
Determine why Product Discovery matters and how to Succeed
Determine why Product Discovery matters and how to SucceedDetermine why Product Discovery matters and how to Succeed
Determine why Product Discovery matters and how to SucceedMind IT Systems
 

More from Mind IT Systems (20)

Role of IT Staff Augmentation in Overcoming Software Development Challenges
Role of IT Staff Augmentation in Overcoming Software Development ChallengesRole of IT Staff Augmentation in Overcoming Software Development Challenges
Role of IT Staff Augmentation in Overcoming Software Development Challenges
 
React Native - Why to choose it for your MVP Development
React Native - Why to choose it for your MVP DevelopmentReact Native - Why to choose it for your MVP Development
React Native - Why to choose it for your MVP Development
 
Top Software Development Trends in 2024
Top Software Development Trends in  2024Top Software Development Trends in  2024
Top Software Development Trends in 2024
 
Flutter the Future of Mobile App Development - 5 Crucial Reasons.pdf
Flutter the Future of Mobile App Development - 5 Crucial Reasons.pdfFlutter the Future of Mobile App Development - 5 Crucial Reasons.pdf
Flutter the Future of Mobile App Development - 5 Crucial Reasons.pdf
 
Hybrid App Development Benefits and Challenges
Hybrid App Development Benefits and ChallengesHybrid App Development Benefits and Challenges
Hybrid App Development Benefits and Challenges
 
Offshore Development Services - The Key to Cost Effective Solutions
Offshore Development Services - The Key to Cost Effective SolutionsOffshore Development Services - The Key to Cost Effective Solutions
Offshore Development Services - The Key to Cost Effective Solutions
 
Node JS as Backend Technology - Reasons & Trends in 2024
Node JS as Backend Technology - Reasons & Trends in 2024Node JS as Backend Technology - Reasons & Trends in 2024
Node JS as Backend Technology - Reasons & Trends in 2024
 
Top 10 Fintech Trends for 2024
Top 10 Fintech Trends for 2024Top 10 Fintech Trends for 2024
Top 10 Fintech Trends for 2024
 
Best Mobile App Development Frameworks in 2024
Best Mobile App Development Frameworks in 2024Best Mobile App Development Frameworks in 2024
Best Mobile App Development Frameworks in 2024
 
Why do Businesses need to Pay Attention to Frontend Development?
Why do Businesses need to Pay Attention to Frontend Development?Why do Businesses need to Pay Attention to Frontend Development?
Why do Businesses need to Pay Attention to Frontend Development?
 
Tips on Hiring ​Full-Stack Developers for Your Business
Tips on Hiring ​Full-Stack Developers for Your BusinessTips on Hiring ​Full-Stack Developers for Your Business
Tips on Hiring ​Full-Stack Developers for Your Business
 
Top 5 Reasons to Employ Flutter App Development for Your Next App
Top 5 Reasons to Employ Flutter App Development for Your Next AppTop 5 Reasons to Employ Flutter App Development for Your Next App
Top 5 Reasons to Employ Flutter App Development for Your Next App
 
Hire Web Developer in India A Decisive Guide
Hire Web Developer in India A Decisive GuideHire Web Developer in India A Decisive Guide
Hire Web Developer in India A Decisive Guide
 
How to Find and Hire the Best App Developers in India - Mind IT Systems
How to Find and Hire the Best App Developers in India - Mind IT SystemsHow to Find and Hire the Best App Developers in India - Mind IT Systems
How to Find and Hire the Best App Developers in India - Mind IT Systems
 
Whether Flutter or Xamarin - Which is Better for 2023 - Mind It Systems
Whether Flutter or Xamarin - Which is Better for 2023 - Mind It SystemsWhether Flutter or Xamarin - Which is Better for 2023 - Mind It Systems
Whether Flutter or Xamarin - Which is Better for 2023 - Mind It Systems
 
Why digital transformation strategy is essential for businesses?
Why digital transformation strategy is essential for businesses?Why digital transformation strategy is essential for businesses?
Why digital transformation strategy is essential for businesses?
 
Digital Transformation Trends Of 2023 Businesses Must Keep an Eye On
Digital Transformation Trends Of 2023 Businesses Must Keep an Eye OnDigital Transformation Trends Of 2023 Businesses Must Keep an Eye On
Digital Transformation Trends Of 2023 Businesses Must Keep an Eye On
 
React Native App Development - 5 Major Reasons to choose it for your Business
React Native App Development - 5 Major Reasons to choose it for your BusinessReact Native App Development - 5 Major Reasons to choose it for your Business
React Native App Development - 5 Major Reasons to choose it for your Business
 
The rise of Web 3.0 and its benefits for businesses
The rise of Web 3.0 and its benefits for businessesThe rise of Web 3.0 and its benefits for businesses
The rise of Web 3.0 and its benefits for businesses
 
Determine why Product Discovery matters and how to Succeed
Determine why Product Discovery matters and how to SucceedDetermine why Product Discovery matters and how to Succeed
Determine why Product Discovery matters and how to Succeed
 

Recently uploaded

buds n tech IT solutions
buds n  tech IT                solutionsbuds n  tech IT                solutions
buds n tech IT solutionsmonugehlot87
 
Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Andreas Granig
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software DevelopersVinodh Ram
 
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...soniya singh
 
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfThe Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfkalichargn70th171
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)OPEN KNOWLEDGE GmbH
 
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...Christina Lin
 
Intelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmIntelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmSujith Sukumaran
 
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样umasea
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEOrtus Solutions, Corp
 
chapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptchapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptkotipi9215
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfjoe51371421
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...MyIntelliSource, Inc.
 
cybersecurity notes for mca students for learning
cybersecurity notes for mca students for learningcybersecurity notes for mca students for learning
cybersecurity notes for mca students for learningVitsRangannavar
 
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackVICTOR MAESTRE RAMIREZ
 
XpertSolvers: Your Partner in Building Innovative Software Solutions
XpertSolvers: Your Partner in Building Innovative Software SolutionsXpertSolvers: Your Partner in Building Innovative Software Solutions
XpertSolvers: Your Partner in Building Innovative Software SolutionsMehedi Hasan Shohan
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideChristina Lin
 
The Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdfThe Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdfPower Karaoke
 

Recently uploaded (20)

buds n tech IT solutions
buds n  tech IT                solutionsbuds n  tech IT                solutions
buds n tech IT solutions
 
Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software Developers
 
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
 
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
 
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfThe Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)
 
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
 
Intelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmIntelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalm
 
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
 
chapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptchapter--4-software-project-planning.ppt
chapter--4-software-project-planning.ppt
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdf
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
 
cybersecurity notes for mca students for learning
cybersecurity notes for mca students for learningcybersecurity notes for mca students for learning
cybersecurity notes for mca students for learning
 
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStack
 
XpertSolvers: Your Partner in Building Innovative Software Solutions
XpertSolvers: Your Partner in Building Innovative Software SolutionsXpertSolvers: Your Partner in Building Innovative Software Solutions
XpertSolvers: Your Partner in Building Innovative Software Solutions
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
 
The Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdfThe Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdf
 

An introduction to bootstrap

  • 2. Topics • Bootstrap Introduction • Scaffolding • CSS • Layout Component 2
  • 3. Bootstrap Introduction • Bootstrap was released in August 2011 by Twitter. • It is an open source product, developed by Mark Otto and Jacob Thornton. • It was developed to standardize the frontend toolsets of engineers across the company. • Most exciting feature of bootstrap is that it allows to build responsive web designs. • The websites like Toyota.com,Appsetter, Quicklinkr & many more are designed using bootstrap. 3
  • 4. Bootstrap Scaffolding • File Structure • Grid System • Layout • Responsive Design 4
  • 5. File Structure • File Structure of Bootstrap: – bootstrap/ – css/ » bootstrap.css » bootstrap.min.css – js/ » bootstrap.js » bootstrap.min.js – img/ » glyphicons-halflings.png » glyphicons-halflings-white.png – README.md 5
  • 6. • To use bootstrap we include the link to the CSS stylesheet and the JavaScript: <link href="css/bootstrap.min.css" rel="stylesheet"> <script src="js/bootstrap.min.js"></script> 6
  • 7. Grid System • Grid can be of two types: – Fixed Grid – Fluid Grid • The default (fixed) Bootstrap grid system utilizes 12 columns, making for a 940px-wide container without responsive features enabled. With the responsive CSS file added, the grid adapts to be 724px or 1170px wide, depending on your viewport. • An example of the 12 possible columns is in below given figure. 7
  • 8. • To create a simple layout, create a container with a <div> that has a class of .row and add the appropriate amount of .span* columns. Since we have a 12-column grid, we just need the amount of .span* columns to equal 12. 8
  • 9. <div class="row"> <div class="span8">...</div> <div class="span4">...</div> </div> • Nesting Columns: To nest your content with the default grid, inside of a .span*, simply add a new .row with enough .span* that it equals the number of spans of the parent container 9
  • 10. <div class="row"> <div class="span9"> Level 1 of column <div class="row"> <div class="span6">Level 2</div> <div class="span3">Level 2</div> </div> </div> </div> 10
  • 11. • Fluid Grid System: The fluid grid system uses percentages instead of pixels for column widths. It has the same responsive capabilities as our fixed grid system, ensuring proper proportions for key screen resolutions and devices. You can make any row “fluid” by changing .row to .row-fluid. • Nesting Fluid Grid: It is slightly different <div class="row-fluid"> <div class="span8"> <div class="row"> <div class="span6">...</div> <div class="span6">...</div> </div> </div> </div> 11
  • 12. Container Layouts • To add a fixed-width, centered layout to your page, simply wrap the content in <div class="container">...</div>. • If you would like to use a fluid layout but want to wrap everything in a container, use the following: <div class="container-fluid">...</div>. 12
  • 13. Responsive Design • Responsive design is a method for taking all of the existing content that is on the page and optimizing it for the device that is viewing it. • To target these different widths, Bootstrap uses CSS media queries to measure the width of the browser viewport and then, using conditionals, changes which parts of the stylesheets are loaded. Using the width of the browser viewport, Bootstrap can then optimize the content using a combination of ratios or widths, but it mostly relies on min-width and max-width properties. 13
  • 14. • To turn on the responsive features of Bootstrap, you need to add a <meta> tag to the <head> of your web page. If you haven’t downloaded the compiled source, you will also need to add the responsive CSS file. An example of required files looks like this: <!DOCTYPE html> <html> <head> <title>My amazing Bootstrap site!</title> <meta name="viewport" content="width=device-width, initial- scale=1.0"> <link href="/css/bootstrap.css" rel="stylesheet"> <link href="/css/bootstrap-responsive.css" rel="stylesheet"> </head> 14
  • 15. Bootstrap CSS • It provide styles for common HTML elements like typography, code, tables, forms, buttons & plus includes Glyphicons, icon set. • For example, it provide four classes to style a table: .table-striped, .table-bordered, .table-hover, and .table- condensed. 15
  • 16. Bootstrap Layout Component • Bootstrap provides a toolkit of flexible components that can be used in designing application interfaces, web features, and more. • Dropdown Menus: The following code creates a basic dropdown menu: <ul class="dropdown-menu" role="menu" aria- labelledby ="dropdownMenu"> <li><a tabindex="-1" href="#">Action</a></li> <li><a tabindex="-1" href="#">Another action</a></li> <li><a tabindex="-1" href="#">Something else here</a></li> <li class="divider"></li> <li><a tabindex="-1" href="#">Separated link</a></li> </ul> 16
  • 17. • Button Groups: class=‘btn-group’ • Navigation Elements : class=‘nav’ • Pagination: class=‘pagination’. 17