SlideShare a Scribd company logo
1 of 28
Bootstrap 3
Lanh Le - 2013
Content
❏ Why Bootstrap?
❏ Bootstrap Support
❏ Demonstration
❏ Font Awesome
Bootstrap Support
Bootstrap Support
Responsive DesignUsing LESS
Bootstrap Support
Modules Package
Grid System
Dropdowns Button groups Button dropdowns Input
groups Navs Navbar Breadcrumbs Pagination
Labels Badges Jumbotron Page header
Thumbnails Alerts Progress bars Media object List
group Panels Wells
Modules Package
Sample Modules
Single button dropdowns
Demonstration
http://getbootstrap.com/javascript/
http://axutopia.com/twitter-bootstrap/
UI Widgets for Wireframing
Modules Package
Grids System
http://www.userfocus.co.uk/resources/axure_grids.html
Basic Template
<!DOCTYPE html>
<html>
<head>
<title>Bootstrap 101 Template</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Bootstrap -->
<link href="css/bootstrap.min.css" rel="stylesheet" media="screen">
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
…
</head>
<body>
<h1>Hello, world!</h1>
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="//code.jquery.com/jquery.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="js/bootstrap.min.js"></script>
</body>
</html>
Viewport
Mobile First
<meta name="viewport" content="width=device-width, initial-scale=1.0">
User-scalable=”No”
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-
scale=1.0, user-scalable=no">
Breakpoints & Media Queries
/* Extra small devices (phones, up to 480px) */
/* No media query since this is the default in Bootstrap */
/* Small devices (tablets, 768px and up) */
@media (min-width: @screen-sm) { ... }
/* Medium devices (desktops, 992px and up) */
@media (min-width: @screen-md) { ... }
/* Large devices (large desktops, 1200px and up) */
@media (min-width: @screen-lg) { ... }
Grids & Breakpoints
(*) is column width from 1 to 12
.col-xs-* => @media (max-width: @screen-xs-max) { ... }
.col-sm-* => @media (min-width: @screen-sm-min) and (max-width: @screen-sm-max) { ... }
.col-md-* => @media (min-width: @screen-md-min) and (max-width: @screen-md-max) { ... }
.col-lg-* => @media (min-width: @screen-lg-min) { ... }
Extra small
devicesPhones (<768px)
Small devices
Tablets (≥768px)
Medium devices
Desktops (≥992px)
Large devices Desktops
(≥1200px)
Max container width None (auto) 750px 970px 1170px
Class prefix .col-xs- .col-sm- .col-md- .col-lg-
Grids - Samples
Container
1. Containers set width at various media query breakpoints to match our grid system.
2. Add 15px padding to Left/Right so the content doesn’t touch the edge of the browser.
Row
1. Rows must be placed within a .container for proper alignment and padding.
2. Use rows to create horizontal groups of columns.
3. Rows only go with columns
Column
1. User columns to layout the content.
2. Columns are created by specifying the number (from 1-12 columns)
3. Columns create gutters (gaps between column content) via padding.
Nested Rows
1. Rows can go inside of columns
Nested Rows
1. Cols can go right into the nested rows
Offsets
1.
What... if?
Working with “Row” and “Column” without “Container”?
Grids Summary
❖ Containers:
➢ Containers set width at various media query breakpoints to match our grid system.
➢ Containers add 15px padding to the left & right so the content doesn’t touch the edge of the browser.
❖ Rows
➢ Use rows to create horizontal groups of columns.
➢ Rows must be placed within a .container for proper alignment and padding.
➢ Rows only go with columns
➢ Rows can go inside of columns (nested content)
❖ Columns:
➢ User columns to layout the content.
➢ Columns are created by specifying the number (from 1-12 columns)
➢ Columns create gutters (gaps between column content) via padding.
➢ Cols can go right into the nested rows
Advantages & Disadvantages
- Designer MUST follow Grids system.
- Too much Combination Classes.
- Easy To Learn
- Designer/Developer Do the Same Way
- A Bunds of UI Patterns
Advantages:
Disadvantages:
Tools
Bootstrap Themes
http://www.bootstrapthemeroller.com/twitter-bootstrap-themeroller.html
Bootstrap Templates
http://www.bootstraptor.com/bootstrap3
Bootstrap Wireframe Kit
http://axutopia.com/twitter-bootstrap/
Bootstrap CDN
http://www.bootstrapcdn.com/
- 370 Icons (Icon Library)
- 06 Standard Sizes (Sample Icon)
- Scalabled Icons
- Multiple Ways to Style the Icon:
Rotated/Flipped/Spinning/Outlined/Bordered/Sizing/Fixed
See sample: http://fontawesome.io/examples/
06 Standard Sizes
How to Use
1. Declare Font Awesome in <Head>:
- Add direct link from CDN: (Recommended)
<link rel="stylesheet"
href="http://netdna.bootstrapcdn.com/font-
awesome/4.0.1/css/font-awesome.min.css">
- Download to local folder:
<link rel="stylesheet" href="path/to/font-
awesome/css/font-awesome.min.css">
2. Start Using It:
<i class="fa fa-envelope fa-2x"></i> Email
How to Use
fa-[name]-[shape]-[o]-[direction]
<i class="fa fa-envelope fa-2x"></i> Email
Sample 1:
<i class="fa fa-envelope-o fa-5x fa-border”></i>
Email
Sample 2:
Thank you

More Related Content

What's hot (20)

Introduction to BOOTSTRAP
Introduction to BOOTSTRAPIntroduction to BOOTSTRAP
Introduction to BOOTSTRAP
 
HTML5
HTML5HTML5
HTML5
 
Bootstrap 5 basic
Bootstrap 5 basicBootstrap 5 basic
Bootstrap 5 basic
 
Html frames
Html framesHtml frames
Html frames
 
Introduction to CSS3
Introduction to CSS3Introduction to CSS3
Introduction to CSS3
 
Bootstrap 5 ppt
Bootstrap 5 pptBootstrap 5 ppt
Bootstrap 5 ppt
 
Bootstrap 4 ppt
Bootstrap 4 pptBootstrap 4 ppt
Bootstrap 4 ppt
 
CSS
CSSCSS
CSS
 
Introduction to HTML and CSS
Introduction to HTML and CSSIntroduction to HTML and CSS
Introduction to HTML and CSS
 
Html5 and-css3-overview
Html5 and-css3-overviewHtml5 and-css3-overview
Html5 and-css3-overview
 
Bootstrap Part - 1
Bootstrap Part - 1Bootstrap Part - 1
Bootstrap Part - 1
 
cascading style sheet ppt
cascading style sheet pptcascading style sheet ppt
cascading style sheet ppt
 
Lab #2: Introduction to Javascript
Lab #2: Introduction to JavascriptLab #2: Introduction to Javascript
Lab #2: Introduction to Javascript
 
Html basics
Html basicsHtml basics
Html basics
 
Complete Lecture on Css presentation
Complete Lecture on Css presentation Complete Lecture on Css presentation
Complete Lecture on Css presentation
 
Css3
Css3Css3
Css3
 
Introduction to Javascript
Introduction to JavascriptIntroduction to Javascript
Introduction to Javascript
 
Introduction to CSS
Introduction to CSSIntroduction to CSS
Introduction to CSS
 
Html and css
Html and cssHtml and css
Html and css
 
Module 3 - Intro to Bootstrap
Module 3 - Intro to BootstrapModule 3 - Intro to Bootstrap
Module 3 - Intro to Bootstrap
 

Viewers also liked

Highlights Webranking 2014-2015 Sweden
Highlights Webranking 2014-2015 SwedenHighlights Webranking 2014-2015 Sweden
Highlights Webranking 2014-2015 SwedenComprend
 
o10media - Posiconamiento de gimnasios en Zaragoza
o10media - Posiconamiento de gimnasios en Zaragozao10media - Posiconamiento de gimnasios en Zaragoza
o10media - Posiconamiento de gimnasios en Zaragozao10media
 
MIWheat AR 2014
MIWheat AR 2014MIWheat AR 2014
MIWheat AR 2014Jan Wilson
 
Bootstrap grid system
Bootstrap grid systemBootstrap grid system
Bootstrap grid systemAmr Salman
 
Bootstrap 3 training
Bootstrap 3 trainingBootstrap 3 training
Bootstrap 3 trainingVison Sunon
 
Intro To Twitter Bootstrap
Intro To Twitter BootstrapIntro To Twitter Bootstrap
Intro To Twitter BootstrapAhmed Haque
 
Introduction to Twitter's Bootstrap 2
Introduction to Twitter's Bootstrap 2Introduction to Twitter's Bootstrap 2
Introduction to Twitter's Bootstrap 2Julien Renaux
 
Design for Developers: Introduction to Bootstrap 3
Design for Developers: Introduction to Bootstrap 3Design for Developers: Introduction to Bootstrap 3
Design for Developers: Introduction to Bootstrap 3John Bertucci
 

Viewers also liked (12)

124642309 homeopatia-patologias-caes-gatos
124642309 homeopatia-patologias-caes-gatos124642309 homeopatia-patologias-caes-gatos
124642309 homeopatia-patologias-caes-gatos
 
Highlights Webranking 2014-2015 Sweden
Highlights Webranking 2014-2015 SwedenHighlights Webranking 2014-2015 Sweden
Highlights Webranking 2014-2015 Sweden
 
MAS/ESPM - Aula03
MAS/ESPM - Aula03MAS/ESPM - Aula03
MAS/ESPM - Aula03
 
Planex 2.0
Planex 2.0Planex 2.0
Planex 2.0
 
o10media - Posiconamiento de gimnasios en Zaragoza
o10media - Posiconamiento de gimnasios en Zaragozao10media - Posiconamiento de gimnasios en Zaragoza
o10media - Posiconamiento de gimnasios en Zaragoza
 
MIWheat AR 2014
MIWheat AR 2014MIWheat AR 2014
MIWheat AR 2014
 
Bootstrap grid system
Bootstrap grid systemBootstrap grid system
Bootstrap grid system
 
Bootstrap 3 training
Bootstrap 3 trainingBootstrap 3 training
Bootstrap 3 training
 
Intro To Twitter Bootstrap
Intro To Twitter BootstrapIntro To Twitter Bootstrap
Intro To Twitter Bootstrap
 
Introduction to Twitter's Bootstrap 2
Introduction to Twitter's Bootstrap 2Introduction to Twitter's Bootstrap 2
Introduction to Twitter's Bootstrap 2
 
Bootstrap grids
Bootstrap gridsBootstrap grids
Bootstrap grids
 
Design for Developers: Introduction to Bootstrap 3
Design for Developers: Introduction to Bootstrap 3Design for Developers: Introduction to Bootstrap 3
Design for Developers: Introduction to Bootstrap 3
 

Similar to Bootstrap 3

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
 
An introduction to bootstrap
An introduction to bootstrapAn introduction to bootstrap
An introduction to bootstrapMind IT Systems
 
Great Responsive-ability Web Design
Great Responsive-ability Web DesignGreat Responsive-ability Web Design
Great Responsive-ability Web DesignMike Wilcox
 
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
 
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
 
Responsive design
Responsive designResponsive design
Responsive designSaira Elahi
 
Responsive UX - One size fits all @BigDesign conference #BigD12
Responsive UX - One size fits all   @BigDesign conference #BigD12Responsive UX - One size fits all   @BigDesign conference #BigD12
Responsive UX - One size fits all @BigDesign conference #BigD12touchtitans
 
Bootstrap Tutorial
Bootstrap Tutorial Bootstrap Tutorial
Bootstrap Tutorial Luan Nguyen
 
Introduction to Responsive Web Development
Introduction to Responsive Web DevelopmentIntroduction to Responsive Web Development
Introduction to Responsive Web DevelopmentNikhil Baby
 
Pemrograman Web 4 - Bootstrap 3
Pemrograman Web 4 - Bootstrap 3Pemrograman Web 4 - Bootstrap 3
Pemrograman Web 4 - Bootstrap 3Nur Fadli Utomo
 
Responsive Websites
Responsive WebsitesResponsive Websites
Responsive WebsitesJoe Seifi
 
Web Accessibility for the 21st Century
Web Accessibility for the 21st CenturyWeb Accessibility for the 21st Century
Web Accessibility for the 21st Centurydreamwidth
 
Bootstrap webtech presentation - new
Bootstrap   webtech presentation - newBootstrap   webtech presentation - new
Bootstrap webtech presentation - newWebtech Learning
 
HTML & CSS #10 : Bootstrap
HTML & CSS #10 : BootstrapHTML & CSS #10 : Bootstrap
HTML & CSS #10 : BootstrapJean Michel
 

Similar to Bootstrap 3 (20)

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
 
Bootstrap Framework
Bootstrap Framework Bootstrap Framework
Bootstrap Framework
 
Responsive web design
Responsive web designResponsive web design
Responsive web design
 
An introduction to bootstrap
An introduction to bootstrapAn introduction to bootstrap
An introduction to bootstrap
 
Great Responsive-ability Web Design
Great Responsive-ability Web DesignGreat Responsive-ability Web Design
Great Responsive-ability Web Design
 
BOTSTRAP.ppt
BOTSTRAP.pptBOTSTRAP.ppt
BOTSTRAP.ppt
 
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
 
Bootstrap [part 1]
Bootstrap [part 1]Bootstrap [part 1]
Bootstrap [part 1]
 
Twitter bootstrap (css, components and javascript)
Twitter bootstrap (css, components and javascript)Twitter bootstrap (css, components and javascript)
Twitter bootstrap (css, components and javascript)
 
Responsive design
Responsive designResponsive design
Responsive design
 
Bootstrap
Bootstrap Bootstrap
Bootstrap
 
Responsive UX - One size fits all @BigDesign conference #BigD12
Responsive UX - One size fits all   @BigDesign conference #BigD12Responsive UX - One size fits all   @BigDesign conference #BigD12
Responsive UX - One size fits all @BigDesign conference #BigD12
 
Bootstrap Tutorial
Bootstrap Tutorial Bootstrap Tutorial
Bootstrap Tutorial
 
Introduction to Responsive Web Development
Introduction to Responsive Web DevelopmentIntroduction to Responsive Web Development
Introduction to Responsive Web Development
 
Pemrograman Web 4 - Bootstrap 3
Pemrograman Web 4 - Bootstrap 3Pemrograman Web 4 - Bootstrap 3
Pemrograman Web 4 - Bootstrap 3
 
Responsive Websites
Responsive WebsitesResponsive Websites
Responsive Websites
 
Web Accessibility for the 21st Century
Web Accessibility for the 21st CenturyWeb Accessibility for the 21st Century
Web Accessibility for the 21st Century
 
Bootstrap webtech presentation - new
Bootstrap   webtech presentation - newBootstrap   webtech presentation - new
Bootstrap webtech presentation - new
 
HTML & CSS #10 : Bootstrap
HTML & CSS #10 : BootstrapHTML & CSS #10 : Bootstrap
HTML & CSS #10 : Bootstrap
 
Bootstrap
BootstrapBootstrap
Bootstrap
 

Recently uploaded

SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsSnow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsHyundai Motor Group
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraDeakin University
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 

Recently uploaded (20)

SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsSnow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning era
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 

Bootstrap 3

  • 2. Content ❏ Why Bootstrap? ❏ Bootstrap Support ❏ Demonstration ❏ Font Awesome
  • 6. Dropdowns Button groups Button dropdowns Input groups Navs Navbar Breadcrumbs Pagination Labels Badges Jumbotron Page header Thumbnails Alerts Progress bars Media object List group Panels Wells Modules Package
  • 8. Demonstration http://getbootstrap.com/javascript/ http://axutopia.com/twitter-bootstrap/ UI Widgets for Wireframing Modules Package Grids System http://www.userfocus.co.uk/resources/axure_grids.html
  • 9. Basic Template <!DOCTYPE html> <html> <head> <title>Bootstrap 101 Template</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <!-- Bootstrap --> <link href="css/bootstrap.min.css" rel="stylesheet" media="screen"> <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries --> … </head> <body> <h1>Hello, world!</h1> <!-- jQuery (necessary for Bootstrap's JavaScript plugins) --> <script src="//code.jquery.com/jquery.js"></script> <!-- Include all compiled plugins (below), or include individual files as needed --> <script src="js/bootstrap.min.js"></script> </body> </html>
  • 10. Viewport Mobile First <meta name="viewport" content="width=device-width, initial-scale=1.0"> User-scalable=”No” <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum- scale=1.0, user-scalable=no">
  • 11. Breakpoints & Media Queries /* Extra small devices (phones, up to 480px) */ /* No media query since this is the default in Bootstrap */ /* Small devices (tablets, 768px and up) */ @media (min-width: @screen-sm) { ... } /* Medium devices (desktops, 992px and up) */ @media (min-width: @screen-md) { ... } /* Large devices (large desktops, 1200px and up) */ @media (min-width: @screen-lg) { ... }
  • 12. Grids & Breakpoints (*) is column width from 1 to 12 .col-xs-* => @media (max-width: @screen-xs-max) { ... } .col-sm-* => @media (min-width: @screen-sm-min) and (max-width: @screen-sm-max) { ... } .col-md-* => @media (min-width: @screen-md-min) and (max-width: @screen-md-max) { ... } .col-lg-* => @media (min-width: @screen-lg-min) { ... } Extra small devicesPhones (<768px) Small devices Tablets (≥768px) Medium devices Desktops (≥992px) Large devices Desktops (≥1200px) Max container width None (auto) 750px 970px 1170px Class prefix .col-xs- .col-sm- .col-md- .col-lg-
  • 14. Container 1. Containers set width at various media query breakpoints to match our grid system. 2. Add 15px padding to Left/Right so the content doesn’t touch the edge of the browser.
  • 15. Row 1. Rows must be placed within a .container for proper alignment and padding. 2. Use rows to create horizontal groups of columns. 3. Rows only go with columns
  • 16. Column 1. User columns to layout the content. 2. Columns are created by specifying the number (from 1-12 columns) 3. Columns create gutters (gaps between column content) via padding.
  • 17. Nested Rows 1. Rows can go inside of columns
  • 18. Nested Rows 1. Cols can go right into the nested rows
  • 20. What... if? Working with “Row” and “Column” without “Container”?
  • 21. Grids Summary ❖ Containers: ➢ Containers set width at various media query breakpoints to match our grid system. ➢ Containers add 15px padding to the left & right so the content doesn’t touch the edge of the browser. ❖ Rows ➢ Use rows to create horizontal groups of columns. ➢ Rows must be placed within a .container for proper alignment and padding. ➢ Rows only go with columns ➢ Rows can go inside of columns (nested content) ❖ Columns: ➢ User columns to layout the content. ➢ Columns are created by specifying the number (from 1-12 columns) ➢ Columns create gutters (gaps between column content) via padding. ➢ Cols can go right into the nested rows
  • 22. Advantages & Disadvantages - Designer MUST follow Grids system. - Too much Combination Classes. - Easy To Learn - Designer/Developer Do the Same Way - A Bunds of UI Patterns Advantages: Disadvantages:
  • 24. - 370 Icons (Icon Library) - 06 Standard Sizes (Sample Icon) - Scalabled Icons - Multiple Ways to Style the Icon: Rotated/Flipped/Spinning/Outlined/Bordered/Sizing/Fixed See sample: http://fontawesome.io/examples/
  • 26. How to Use 1. Declare Font Awesome in <Head>: - Add direct link from CDN: (Recommended) <link rel="stylesheet" href="http://netdna.bootstrapcdn.com/font- awesome/4.0.1/css/font-awesome.min.css"> - Download to local folder: <link rel="stylesheet" href="path/to/font- awesome/css/font-awesome.min.css"> 2. Start Using It: <i class="fa fa-envelope fa-2x"></i> Email
  • 27. How to Use fa-[name]-[shape]-[o]-[direction] <i class="fa fa-envelope fa-2x"></i> Email Sample 1: <i class="fa fa-envelope-o fa-5x fa-border”></i> Email Sample 2:

Editor's Notes

  1. http://getbootstrap.com/components/#glyphicons-glyphs
  2. … <!--[if lt IE 9]> <script src="../../assets/js/html5shiv.js"></script> <script src="../../assets/js/respond.min.js"></script> <![endif]-->