SlideShare a Scribd company logo
Bootstrap
Web Development Framework
What is Bootstrap?
• A Web development framework
• Originally created by people at Twitter, branched off to its
own project
• HTML- and CSS-based design templates for typography, forms,
buttons, navigation and other interface components
• Now in version 3; version 4 in development
Bootstrap Features
• Dominant images and image carousels
• Grid system
• Features for responsive design
• Special design elements for navigation, tables,
forms, buttons
• Parallax scrolling – backgrounds and
foregrounds move at different speeds,
providing a 3D effect.
Getting Started
• Download Bootstrap from getbootstrap.com
• Start with basic template, include links to
bootstrap css and js files and jquery.
Navigation
<nav class="navbar navbar-inverse navbar-fixed-top">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-
target="#navbar" aria-expanded="false" aria-controls="navbar">
<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="#">Project name</a>
</div>
<div id="navbar" class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li class="active"><a href="#">Home</a></li>
<li><a href="#about">About</a></li>
<li><a href="#contact">Contact</a></li>
</ul>
</div><!--/.nav-collapse -->
</div>
</nav>
• Can be fixed at the top
• Can include dropdowns
Jumbotron
<div class="jumbotron">
<div class="container">
<h1>Hello, world!</h1>
<p>This is a template for a simple marketing or informational website. It
includes a large callout called a jumbotron and three supporting pieces of
content. Use it as a starting point to create something more unique.</p>
<p><a class="btn btn-primary btn-lg" href="#" role="button">Learn more
&raquo;</a></p>
</div>
</div>
Grid
<div class="row">
<div class="col-md-4">
<h2>Heading</h2>
<p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris
condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod.
Donec sed odio dui. </p>
<p><a class="btn btn-default" href="#" role="button">View details &raquo;</a></p>
</div>
<div class="col-md-4">
<h2>Heading</h2>
<p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris
condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod.
Donec sed odio dui. </p>
<p><a class="btn btn-default" href="#" role="button">View details &raquo;</a></p>
</div>
<div class="col-md-4">
<h2>Heading</h2>
<p>Donec sed odio dui. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Vestibulum id ligula porta
felis euismod semper. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum
massa justo sit amet risus.</p>
<p><a class="btn btn-default" href="#" role="button">View details &raquo;</a></p>
</div>
</div>
Grid
Table Options
• Use special classes to control of look of tables
Images
• Special classes for display of images
– img-rounded
– img-circle
– img-thumbnail
– img-responsive
Parallax Scrolling
<section id="intro" data-speed="6" data-type="background">
• Can use fixed backgrounds
• Use of different data speeds for background sections.
Various parallax scripts online.
$(document).ready(function(){
// cache the window object
$window = $(window);
$('section[data-type="background"]').each(function(){
// declare the variable to affect the defined data-type
var $scroll = $(this);
$(window).scroll(function() {
// HTML5 proves useful for helping with creating JS functions!
// also, negative value because we're scrolling upwards
var yPos = -($window.scrollTop() / $scroll.data('speed'));
// background position
var coords = '50% '+ yPos + 'px';
// move the background
$scroll.css({ backgroundPosition: coords });
}); // end window scroll
}); // end section function
}); // close out script
Other Features
• Image carousel – use the code in the Carousel template to
include your own images. Key is creating images large enough
to cover browser window and are the same size. Save images
where they can be accessed by the html page.
• Scroll to anchor (site is on one page) – use special JQuery
Final Tips
• You know everything you need to know to
work with Bootstrap
• It seems intimidating at first, but makes sense
as you start to use it
• Allows you to get up and running quickly;
makes certain functions easier to implement
• Look at code samples on the Bootstrap GitHub
under docs, examples.
https://github.com/twbs/bootstrap

More Related Content

PPTX
Presentation of bootstrap
PPTX
Bootstrap
PPTX
Bootstrap [part 1]
PPT
Introduction to BOOTSTRAP
PPTX
Bootstrap PPT by Mukesh
PDF
Bootstrap
PPS
Bootstrap 3 vs. bootstrap 4
PPTX
Bootstrap 5 whats new
Presentation of bootstrap
Bootstrap
Bootstrap [part 1]
Introduction to BOOTSTRAP
Bootstrap PPT by Mukesh
Bootstrap
Bootstrap 3 vs. bootstrap 4
Bootstrap 5 whats new

What's hot (20)

PDF
Introduction to Bootstrap
PPTX
Bootstrap 3
PPTX
An introduction to bootstrap
PPTX
Twitter bootstrap
PPTX
Introduction to Bootstrap
PPTX
Bootstrap 3
PPTX
Bootstrap [part 2]
PDF
Bootstrap day1
PDF
Bootstrap
PDF
FITC - Bootstrap Unleashed
PPTX
Bootstrap - Basics
PPT
Bootstrap Part - 1
PPTX
Bootstrap 3.1.1
PDF
Bootstrap 4 Tutorial PDF for Beginners - Learn Step by Step
PPS
Introduction to Bootstrap: Design for Developers
PDF
Bootstrap
PPTX
Bootstrap ppt
PPTX
Bootstrap By Shafeeq
PPTX
Bootstrap webtech presentation - new
PPTX
Intro To Twitter Bootstrap
Introduction to Bootstrap
Bootstrap 3
An introduction to bootstrap
Twitter bootstrap
Introduction to Bootstrap
Bootstrap 3
Bootstrap [part 2]
Bootstrap day1
Bootstrap
FITC - Bootstrap Unleashed
Bootstrap - Basics
Bootstrap Part - 1
Bootstrap 3.1.1
Bootstrap 4 Tutorial PDF for Beginners - Learn Step by Step
Introduction to Bootstrap: Design for Developers
Bootstrap
Bootstrap ppt
Bootstrap By Shafeeq
Bootstrap webtech presentation - new
Intro To Twitter Bootstrap
Ad

Similar to Bootstrap - Web Development Framework (20)

PPTX
Bootstrap Web Development Framework
PPTX
Twitter bootstrap1
PDF
The Ultimate Guide to Bootstrap for Beginners.pdf
PPTX
Intro to Bootstrap
PDF
Introduction to Responsive Web Development
PDF
Bootstrap for webtechnology_data science.pdf
PPTX
Bootstrap Framework
PPTX
Bootstrap: the full overview
DOCX
Vi INFOTECH bootstrap-syllabus
PPTX
Twitter bootstrap
DOCX
“Good design is obvious. Great design is transparent.” — How we use Bootstrap...
PPT
BSIT_AdvanceWebDevelopment_file4 -ppt.ppt
PPTX
Boot strap
PPTX
Anvesh_BOOTSTRAP.pptx
PPTX
ICT Presentjrjdjdjdkkdkeeation Final.pptx
PPT
Responsive web design
PPTX
Rapid and Responsive - UX to Prototype with Bootstrap
PPT
Twitter bootstrap (css, components and javascript)
PPTX
Create Responsive Website Design with Bootstrap 3
PDF
Building Responsive Websites with the Bootstrap 3 Framework
Bootstrap Web Development Framework
Twitter bootstrap1
The Ultimate Guide to Bootstrap for Beginners.pdf
Intro to Bootstrap
Introduction to Responsive Web Development
Bootstrap for webtechnology_data science.pdf
Bootstrap Framework
Bootstrap: the full overview
Vi INFOTECH bootstrap-syllabus
Twitter bootstrap
“Good design is obvious. Great design is transparent.” — How we use Bootstrap...
BSIT_AdvanceWebDevelopment_file4 -ppt.ppt
Boot strap
Anvesh_BOOTSTRAP.pptx
ICT Presentjrjdjdjdkkdkeeation Final.pptx
Responsive web design
Rapid and Responsive - UX to Prototype with Bootstrap
Twitter bootstrap (css, components and javascript)
Create Responsive Website Design with Bootstrap 3
Building Responsive Websites with the Bootstrap 3 Framework
Ad

More from Cindy Royal (20)

PPTX
PhDigital 2020: Web Development
PPTX
Redefining Doctoral Education: Preparing Future Faculty to Lead Emerging Med...
PPTX
Web Development
PPTX
Product Management
PPTX
Digital Product Management
PPTX
Bending, Breaking and Blending the Academy
PPT
Taking Control of Social Media For Your Career
PPT
Web Development Intro
PPTX
PhDigital Bootcamp: Web Development Concepts
PPTX
PhDigital Bootcamp: Digital Product Management
PPTX
Digital and Social Certifications
PPTX
MiLab Presentation 2018
PPTX
Is Your Curriculum Digital Enough?
PPTX
Fundamentals of Digital/Online Media
PPTX
Bringing Digital Into the Curriculum - AEJMC 2017
PPTX
Responsive Design
PPT
The World of Web Development - 2017
PPT
Why Should Communicators Learn to Code?
PPTX
Engaging Audiences with Social Media
PPTX
Coding... For Communicators?
PhDigital 2020: Web Development
Redefining Doctoral Education: Preparing Future Faculty to Lead Emerging Med...
Web Development
Product Management
Digital Product Management
Bending, Breaking and Blending the Academy
Taking Control of Social Media For Your Career
Web Development Intro
PhDigital Bootcamp: Web Development Concepts
PhDigital Bootcamp: Digital Product Management
Digital and Social Certifications
MiLab Presentation 2018
Is Your Curriculum Digital Enough?
Fundamentals of Digital/Online Media
Bringing Digital Into the Curriculum - AEJMC 2017
Responsive Design
The World of Web Development - 2017
Why Should Communicators Learn to Code?
Engaging Audiences with Social Media
Coding... For Communicators?

Recently uploaded (20)

PPTX
Big Data Technologies - Introduction.pptx
PDF
Empathic Computing: Creating Shared Understanding
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Approach and Philosophy of On baking technology
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Spectral efficient network and resource selection model in 5G networks
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PPTX
Spectroscopy.pptx food analysis technology
PPT
Teaching material agriculture food technology
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
Big Data Technologies - Introduction.pptx
Empathic Computing: Creating Shared Understanding
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Network Security Unit 5.pdf for BCA BBA.
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Building Integrated photovoltaic BIPV_UPV.pdf
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Mobile App Security Testing_ A Comprehensive Guide.pdf
Chapter 3 Spatial Domain Image Processing.pdf
Approach and Philosophy of On baking technology
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Spectral efficient network and resource selection model in 5G networks
The AUB Centre for AI in Media Proposal.docx
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Spectroscopy.pptx food analysis technology
Teaching material agriculture food technology
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx

Bootstrap - Web Development Framework

  • 2. What is Bootstrap? • A Web development framework • Originally created by people at Twitter, branched off to its own project • HTML- and CSS-based design templates for typography, forms, buttons, navigation and other interface components • Now in version 3; version 4 in development
  • 3. Bootstrap Features • Dominant images and image carousels • Grid system • Features for responsive design • Special design elements for navigation, tables, forms, buttons • Parallax scrolling – backgrounds and foregrounds move at different speeds, providing a 3D effect.
  • 4. Getting Started • Download Bootstrap from getbootstrap.com • Start with basic template, include links to bootstrap css and js files and jquery.
  • 5. Navigation <nav class="navbar navbar-inverse navbar-fixed-top"> <div class="container"> <div class="navbar-header"> <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data- target="#navbar" aria-expanded="false" aria-controls="navbar"> <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="#">Project name</a> </div> <div id="navbar" class="collapse navbar-collapse"> <ul class="nav navbar-nav"> <li class="active"><a href="#">Home</a></li> <li><a href="#about">About</a></li> <li><a href="#contact">Contact</a></li> </ul> </div><!--/.nav-collapse --> </div> </nav> • Can be fixed at the top • Can include dropdowns
  • 6. Jumbotron <div class="jumbotron"> <div class="container"> <h1>Hello, world!</h1> <p>This is a template for a simple marketing or informational website. It includes a large callout called a jumbotron and three supporting pieces of content. Use it as a starting point to create something more unique.</p> <p><a class="btn btn-primary btn-lg" href="#" role="button">Learn more &raquo;</a></p> </div> </div>
  • 7. Grid <div class="row"> <div class="col-md-4"> <h2>Heading</h2> <p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p> <p><a class="btn btn-default" href="#" role="button">View details &raquo;</a></p> </div> <div class="col-md-4"> <h2>Heading</h2> <p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p> <p><a class="btn btn-default" href="#" role="button">View details &raquo;</a></p> </div> <div class="col-md-4"> <h2>Heading</h2> <p>Donec sed odio dui. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Vestibulum id ligula porta felis euismod semper. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.</p> <p><a class="btn btn-default" href="#" role="button">View details &raquo;</a></p> </div> </div>
  • 9. Table Options • Use special classes to control of look of tables
  • 10. Images • Special classes for display of images – img-rounded – img-circle – img-thumbnail – img-responsive
  • 11. Parallax Scrolling <section id="intro" data-speed="6" data-type="background"> • Can use fixed backgrounds • Use of different data speeds for background sections. Various parallax scripts online. $(document).ready(function(){ // cache the window object $window = $(window); $('section[data-type="background"]').each(function(){ // declare the variable to affect the defined data-type var $scroll = $(this); $(window).scroll(function() { // HTML5 proves useful for helping with creating JS functions! // also, negative value because we're scrolling upwards var yPos = -($window.scrollTop() / $scroll.data('speed')); // background position var coords = '50% '+ yPos + 'px'; // move the background $scroll.css({ backgroundPosition: coords }); }); // end window scroll }); // end section function }); // close out script
  • 12. Other Features • Image carousel – use the code in the Carousel template to include your own images. Key is creating images large enough to cover browser window and are the same size. Save images where they can be accessed by the html page. • Scroll to anchor (site is on one page) – use special JQuery
  • 13. Final Tips • You know everything you need to know to work with Bootstrap • It seems intimidating at first, but makes sense as you start to use it • Allows you to get up and running quickly; makes certain functions easier to implement • Look at code samples on the Bootstrap GitHub under docs, examples. https://github.com/twbs/bootstrap