SlideShare a Scribd company logo
Bootstrap 101 
Introduction to one of the most popular front-end frameworks
Design for Developers 
Introduction and Overview
Basic Principles of Design 
Proximity Alignment 
Repetition Contrast 
Bonus 
Colour Typography
Proximity 
The way elements are grouped together creates 
a sense of unity. Closeness implies a 
relationship.
Proximity 
Some examples 
A menu of list that 
belong to a category 
PLATFORM 
Playstation 4 
XBOX One 
XBOX 360 
Nintendo Wii 
GENRE 
Action 
Adventure 
First-Person Shooter 
Role Playing Game 
SIZE 
Small 
Medium 
Large 
PLATFORM 
Playstation 4 
XBOX One 
XBOX 360 
Nintendo Wii 
GENRE 
Action 
Adventure 
First-Person Shooter 
Role Playing Game 
SIZE 
Small 
Medium 
Large
Alignment 
Elements should not be placed arbitrary. 
Place elements in relation to others.
Alignment 
Some examples 
Aligning elements 
horizontally and 
vertically . 
(and some proximity too)
Alignment 
Some examples 
Tetris Fail
Alignment 
The Grid 
A network of uniformly 
spaced horizontal and 
perpendicular lines.
Alignment 
The Golden Ratio 
Divine proportion 
1.61803398875
Repetition 
Repeat elements, styles and design consistency 
•Font-size and Family across headers and text 
•Bullet styles 
•Color 
•Borders/Styles 
•Margins/Paddings
Repetition 
An example 
www.britishairways.com
Contrast 
When two items are different, it creates contrast. 
Sort of different is not different, it’s conflict. 
REALLY Different!
Contrast 
Good & Bad 
Contrast, Contrast and 
Contrast
Color 
Color can be very emotional (psychology) or 
scientific (theories and schemes) 
Associations, Temperatures, Models, Color 
wheels and schemes
Typography 
Fonts to the rest of us. 
Typography matters. 
Web fonts are free and well supported. 
(and don’t use decorative fonts, even if they’re cute)
Typography 
In Ten Minutes 
practicaltypography.co 
m 
1. BODY TEXT 
More text than anything. Focus on 
that first. 80/20 Rule 
2. POINT SIZE 
CSS: font-size 
3. LINE SPACING 
CSS: line-height 
4. LINE LENGTH 
CSS: width of the container 
5. FONT 
CSS: font-family 
(don’t use system fonts!)
Typography 
Web Fonts! 
There’s good free resources! Paid for services 
aren’t expensive. 
Limit your fonts. Browser support is good, but still 
use fallback fonts.
Bootstrap 
Most popular HTML, CSS, and JS framework for 
developing responsive, mobile first projects on the web.
What is Bootstrap? 
Sleek, Intuitive, and powerful Mobile first Front- 
End Framework 
•Style guide for HTML Markup 
•Common web design and layout patterns (CSS) 
•Common widgets and functionality (JS) 
•Faster and easier web development 
Created by Mark Otto and Jacob Thornton when 
working @Twitter to encourage consistency 
across internal tools and speed up development
Bootstrap: Getting Started 
• Getting started is as simple as dropping some CSS 
and Javascript into the root of your site. 
• Customize variables, components, Javascript 
plugins and more. 
http://getbootstrap.com/customize/ 
• The fastest way is to download the compiled and 
minified versions of our CSS and Javascript, along 
with the included fonts. 
http://getbootstrap.com/getting-started/ 
• CDN (Content Delivery Network) 
http://www.bootstrapcdn.com/
Bootstrap: Basic Template 
<!DOCTYPE html> 
<html lang="en"> 
<head> 
<meta charset="utf-8"> 
<meta http-equiv="X-UA-Compatible" content="IE=edge"> 
<meta name="viewport" content="width=device-width, initial-scale=1"> 
<title>Bootstrap 101 Template</title> 
<link href="css/bootstrap.min.css" rel="stylesheet"> 
</head> 
<body> 
<h1>Hello, world!</h1> 
<script src= "ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"> 
</script> 
<script src="js/bootstrap.min.js"></script> 
</body> 
</html>
The Grid 
12 column Advanced Grid 
<div class=“container”> 
<!-- every row must have 12 
columns --> 
<div class=“row”> 
<div class=“col-md-4”> 
<!– content --> 
</div> 
<!– 8 more columns --> 
</div> 
</div>
The Grid 
12 column Advanced Grid 
Bootstrap 3 features an always-responsive grid with a maximum size: 
1.col-xs-* grids have no maximum size (auto) <768px (Extra Small Devices) 
2.col-sm-* grids resize ≥768px (Small Devices) 
3.col-md-* grids resize ≥992px (Medium Devices) 
4.col-lg-* grids resize ≥1200px (Large Devices) 
You should choose col-md or col-lg for desktop sites
The Grid 
You can use two grid sizes for different screen sizes: 
<div class=“row”> 
<div class=“col-md-4 col-xs-6”> 
<!-- content --> 
</div> 
<div class=“col-md-8 col-xs-6”> 
<!-- content --> 
</div> 
</div>
Bootstrap: CSS 
• Typography 
• Tables 
• Forms 
• Buttons 
• Images 
http://getbootstrap.com/css/
Bootstrap: Components 
Over a dozen reusable components 
•Glyphicons 
•Dropdowns 
•Navbar 
•Breadcrumbs 
•Alerts 
http://getbootstrap.com/components/
Bootstrap: Javascript 
Brings components to life with custom plugins 
•Modals 
•Tabs 
•Tooltips 
•Alerts 
•Carousel 
http://getbootstrap.com/javascript/
Bootstrap: Customize and Download 
• Customize Bootstrap’s components, LESS 
variables and jQuery plugins to get your 
very own version. 
http://getbootstrap.com/customize/
How Bootstrap relates to Design Principles 
• Proximity : Designer’s responsibility 
• Alignment : 12 column advanced grid 
• Repetition : Default typography, Buttons, Classes 
• Contrast : Designer’s responsibility, but components have 
decent contrast 
• Color : Designer still needs to craft a color palette 
• Typography: Default provided, designer may have to use 
web fonts.
Benefits 
• Faster prototyping and development 
• Powerful Grid 
• Easily Customizable and Well tested Styles 
• Mobile first/ Responsive Components 
• Nearly Perfect Documentation 
• Huge Community Support
Drawbacks 
• Overhead (v3 not bad: 127k => 92k CSS + 28k JS) 
• Bootstrap design looks like Bootstrap design 
• ‘DIV Bloat’ if you’re not careful or don’t fully customize
@melvindidit

More Related Content

PDF
Introduction to Bootstrap
PPTX
CSS3 2D/3D transform
PPTX
Css borders
PPTX
Bootstrap 3
PPTX
Introducing CSS Grid
PPTX
Html media
PDF
Introduction to CSS Grid Layout
PDF
CSS3 Media Queries
Introduction to Bootstrap
CSS3 2D/3D transform
Css borders
Bootstrap 3
Introducing CSS Grid
Html media
Introduction to CSS Grid Layout
CSS3 Media Queries

What's hot (20)

PDF
CSS3, Media Queries, and Responsive Design
PPT
Introduction to BOOTSTRAP
PDF
Introduction to CSS3
PPTX
Html and css presentation
PPTX
Flexbox
PPTX
Bootstrap PPT by Mukesh
PDF
Responsive Design Presentation
PPTX
Css position
PPT
CSS Basics
PPTX
PPTX
Css box-model
PPTX
HTML Semantic Elements
PPT
Introduction to html
PPTX
An Overview of HTML, CSS & Java Script
PPT
Css Ppt
PPT
Box Model
PPT
javaScript.ppt
PDF
Bootstrap 5 basic
CSS3, Media Queries, and Responsive Design
Introduction to BOOTSTRAP
Introduction to CSS3
Html and css presentation
Flexbox
Bootstrap PPT by Mukesh
Responsive Design Presentation
Css position
CSS Basics
Css box-model
HTML Semantic Elements
Introduction to html
An Overview of HTML, CSS & Java Script
Css Ppt
Box Model
javaScript.ppt
Bootstrap 5 basic
Ad

Viewers also liked (9)

PDF
Codeyssus Labs - Services Brochure
PPT
Presentation made for college recruitment drives
PDF
Bootstrap tutorial
PPTX
Introduction to Bootstrap
PPTX
Bootstrap [part 2]
PPTX
Design for Developers: Introduction to Bootstrap 3
PPTX
Bootstrap ppt
PDF
Bootstrap tutorial
PPTX
Culture
Codeyssus Labs - Services Brochure
Presentation made for college recruitment drives
Bootstrap tutorial
Introduction to Bootstrap
Bootstrap [part 2]
Design for Developers: Introduction to Bootstrap 3
Bootstrap ppt
Bootstrap tutorial
Culture
Ad

Similar to Introduction to Bootstrap: Design for Developers (20)

PPTX
Intro To Twitter Bootstrap
PDF
Thinkful - Frontend Crash Course - Intro to HTML/CSS
PPTX
Introduction to PrintCSS.live
PDF
Le Wagon - Landing page
PDF
Scalable front-end architecture with Bootstrap 3 + Atomic CSS
PPTX
Bootstrap for Beginners
PDF
Html:css crash course (4:5)
PDF
Responsive Web Design (April 18th, Los Angeles)
PPT
Web design-workflow
PDF
Le Wagon - 2h Landing
PDF
Le Wagon Tokyo - 2 hours landing page
DOC
Intermediate Web Design.doc
DOC
Intermediate Web Design.doc
KEY
CSS Framework + Progressive Enhacements
PDF
Teams, styles and scalable applications
PDF
Le Wagon - Build your Landing Page in 2 hours
PPTX
lec11_CSS.pptx web page description desi
PPTX
Introducing Cascading Style Sheets
PPT
GTU Web Designing Interview Questions And Answers for freshers
PDF
Web Design & UI/UX Bootcamp [Online & Offline] In Bangla
Intro To Twitter Bootstrap
Thinkful - Frontend Crash Course - Intro to HTML/CSS
Introduction to PrintCSS.live
Le Wagon - Landing page
Scalable front-end architecture with Bootstrap 3 + Atomic CSS
Bootstrap for Beginners
Html:css crash course (4:5)
Responsive Web Design (April 18th, Los Angeles)
Web design-workflow
Le Wagon - 2h Landing
Le Wagon Tokyo - 2 hours landing page
Intermediate Web Design.doc
Intermediate Web Design.doc
CSS Framework + Progressive Enhacements
Teams, styles and scalable applications
Le Wagon - Build your Landing Page in 2 hours
lec11_CSS.pptx web page description desi
Introducing Cascading Style Sheets
GTU Web Designing Interview Questions And Answers for freshers
Web Design & UI/UX Bootcamp [Online & Offline] In Bangla

Recently uploaded (20)

PPT
isotopes_sddsadsaadasdasdasdasdsa1213.ppt
PPT
Design_with_Watersergyerge45hrbgre4top (1).ppt
PDF
SASE Traffic Flow - ZTNA Connector-1.pdf
PPTX
introduction about ICD -10 & ICD-11 ppt.pptx
PPTX
Module 1 - Cyber Law and Ethics 101.pptx
PPTX
E -tech empowerment technologies PowerPoint
PDF
Automated vs Manual WooCommerce to Shopify Migration_ Pros & Cons.pdf
PPTX
522797556-Unit-2-Temperature-measurement-1-1.pptx
PDF
Decoding a Decade: 10 Years of Applied CTI Discipline
PPTX
Introuction about ICD -10 and ICD-11 PPT.pptx
PPTX
innovation process that make everything different.pptx
PPT
Ethics in Information System - Management Information System
PDF
Slides PDF The World Game (s) Eco Economic Epochs.pdf
PPTX
INTERNET------BASICS-------UPDATED PPT PRESENTATION
PPTX
international classification of diseases ICD-10 review PPT.pptx
PPT
FIRE PREVENTION AND CONTROL PLAN- LUS.FM.MQ.OM.UTM.PLN.00014.ppt
PPTX
Internet___Basics___Styled_ presentation
PDF
Tenda Login Guide: Access Your Router in 5 Easy Steps
PPTX
Introduction to Information and Communication Technology
PPTX
presentation_pfe-universite-molay-seltan.pptx
isotopes_sddsadsaadasdasdasdasdsa1213.ppt
Design_with_Watersergyerge45hrbgre4top (1).ppt
SASE Traffic Flow - ZTNA Connector-1.pdf
introduction about ICD -10 & ICD-11 ppt.pptx
Module 1 - Cyber Law and Ethics 101.pptx
E -tech empowerment technologies PowerPoint
Automated vs Manual WooCommerce to Shopify Migration_ Pros & Cons.pdf
522797556-Unit-2-Temperature-measurement-1-1.pptx
Decoding a Decade: 10 Years of Applied CTI Discipline
Introuction about ICD -10 and ICD-11 PPT.pptx
innovation process that make everything different.pptx
Ethics in Information System - Management Information System
Slides PDF The World Game (s) Eco Economic Epochs.pdf
INTERNET------BASICS-------UPDATED PPT PRESENTATION
international classification of diseases ICD-10 review PPT.pptx
FIRE PREVENTION AND CONTROL PLAN- LUS.FM.MQ.OM.UTM.PLN.00014.ppt
Internet___Basics___Styled_ presentation
Tenda Login Guide: Access Your Router in 5 Easy Steps
Introduction to Information and Communication Technology
presentation_pfe-universite-molay-seltan.pptx

Introduction to Bootstrap: Design for Developers

  • 1. Bootstrap 101 Introduction to one of the most popular front-end frameworks
  • 2. Design for Developers Introduction and Overview
  • 3. Basic Principles of Design Proximity Alignment Repetition Contrast Bonus Colour Typography
  • 4. Proximity The way elements are grouped together creates a sense of unity. Closeness implies a relationship.
  • 5. Proximity Some examples A menu of list that belong to a category PLATFORM Playstation 4 XBOX One XBOX 360 Nintendo Wii GENRE Action Adventure First-Person Shooter Role Playing Game SIZE Small Medium Large PLATFORM Playstation 4 XBOX One XBOX 360 Nintendo Wii GENRE Action Adventure First-Person Shooter Role Playing Game SIZE Small Medium Large
  • 6. Alignment Elements should not be placed arbitrary. Place elements in relation to others.
  • 7. Alignment Some examples Aligning elements horizontally and vertically . (and some proximity too)
  • 9. Alignment The Grid A network of uniformly spaced horizontal and perpendicular lines.
  • 10. Alignment The Golden Ratio Divine proportion 1.61803398875
  • 11. Repetition Repeat elements, styles and design consistency •Font-size and Family across headers and text •Bullet styles •Color •Borders/Styles •Margins/Paddings
  • 12. Repetition An example www.britishairways.com
  • 13. Contrast When two items are different, it creates contrast. Sort of different is not different, it’s conflict. REALLY Different!
  • 14. Contrast Good & Bad Contrast, Contrast and Contrast
  • 15. Color Color can be very emotional (psychology) or scientific (theories and schemes) Associations, Temperatures, Models, Color wheels and schemes
  • 16. Typography Fonts to the rest of us. Typography matters. Web fonts are free and well supported. (and don’t use decorative fonts, even if they’re cute)
  • 17. Typography In Ten Minutes practicaltypography.co m 1. BODY TEXT More text than anything. Focus on that first. 80/20 Rule 2. POINT SIZE CSS: font-size 3. LINE SPACING CSS: line-height 4. LINE LENGTH CSS: width of the container 5. FONT CSS: font-family (don’t use system fonts!)
  • 18. Typography Web Fonts! There’s good free resources! Paid for services aren’t expensive. Limit your fonts. Browser support is good, but still use fallback fonts.
  • 19. Bootstrap Most popular HTML, CSS, and JS framework for developing responsive, mobile first projects on the web.
  • 20. What is Bootstrap? Sleek, Intuitive, and powerful Mobile first Front- End Framework •Style guide for HTML Markup •Common web design and layout patterns (CSS) •Common widgets and functionality (JS) •Faster and easier web development Created by Mark Otto and Jacob Thornton when working @Twitter to encourage consistency across internal tools and speed up development
  • 21. Bootstrap: Getting Started • Getting started is as simple as dropping some CSS and Javascript into the root of your site. • Customize variables, components, Javascript plugins and more. http://getbootstrap.com/customize/ • The fastest way is to download the compiled and minified versions of our CSS and Javascript, along with the included fonts. http://getbootstrap.com/getting-started/ • CDN (Content Delivery Network) http://www.bootstrapcdn.com/
  • 22. Bootstrap: Basic Template <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Bootstrap 101 Template</title> <link href="css/bootstrap.min.css" rel="stylesheet"> </head> <body> <h1>Hello, world!</h1> <script src= "ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"> </script> <script src="js/bootstrap.min.js"></script> </body> </html>
  • 23. The Grid 12 column Advanced Grid <div class=“container”> <!-- every row must have 12 columns --> <div class=“row”> <div class=“col-md-4”> <!– content --> </div> <!– 8 more columns --> </div> </div>
  • 24. The Grid 12 column Advanced Grid Bootstrap 3 features an always-responsive grid with a maximum size: 1.col-xs-* grids have no maximum size (auto) <768px (Extra Small Devices) 2.col-sm-* grids resize ≥768px (Small Devices) 3.col-md-* grids resize ≥992px (Medium Devices) 4.col-lg-* grids resize ≥1200px (Large Devices) You should choose col-md or col-lg for desktop sites
  • 25. The Grid You can use two grid sizes for different screen sizes: <div class=“row”> <div class=“col-md-4 col-xs-6”> <!-- content --> </div> <div class=“col-md-8 col-xs-6”> <!-- content --> </div> </div>
  • 26. Bootstrap: CSS • Typography • Tables • Forms • Buttons • Images http://getbootstrap.com/css/
  • 27. Bootstrap: Components Over a dozen reusable components •Glyphicons •Dropdowns •Navbar •Breadcrumbs •Alerts http://getbootstrap.com/components/
  • 28. Bootstrap: Javascript Brings components to life with custom plugins •Modals •Tabs •Tooltips •Alerts •Carousel http://getbootstrap.com/javascript/
  • 29. Bootstrap: Customize and Download • Customize Bootstrap’s components, LESS variables and jQuery plugins to get your very own version. http://getbootstrap.com/customize/
  • 30. How Bootstrap relates to Design Principles • Proximity : Designer’s responsibility • Alignment : 12 column advanced grid • Repetition : Default typography, Buttons, Classes • Contrast : Designer’s responsibility, but components have decent contrast • Color : Designer still needs to craft a color palette • Typography: Default provided, designer may have to use web fonts.
  • 31. Benefits • Faster prototyping and development • Powerful Grid • Easily Customizable and Well tested Styles • Mobile first/ Responsive Components • Nearly Perfect Documentation • Huge Community Support
  • 32. Drawbacks • Overhead (v3 not bad: 127k => 92k CSS + 28k JS) • Bootstrap design looks like Bootstrap design • ‘DIV Bloat’ if you’re not careful or don’t fully customize