Day One
Mohammad Rafi Haidari
• Bootstrap is the most popular HTML, CSS, and JavaScript framework for
developing responsive, mobile-first web sites.
• Bootstrap is completely free to download and use!
• Bootstrap is a free front-end framework for faster and easier web
development
• Bootstrap includes HTML and CSS based design templates for
typography, forms, buttons, tables, navigation, modals, image carousels
and many other, as well as optional JavaScript plugins
• Bootstrap also gives you the ability to easily create responsive designs
What is Bootstrap?
There are two ways to start using Bootstrap on your own web site.
You can:
• Download Bootstrap from getbootstrap.com
• Include Bootstrap from a CDN:
http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css
Where to Get Bootstrap?
Bootstrap Grid System
Bootstrap's grid system allows up to 12 columns across the page.
If you do not want to use all 12 column individually, you can group the columns together to create
wider columns:
Bootstrap's grid system is responsive, and the columns will re-arrange automatically depending on the screen size.
Bootstrap Grid System
Grid Classes
The Bootstrap grid system has four classes:
• xs (for phones)
• sm (for tablets)
• md (for desktops)
• lg (for larger desktops)
First; create a row (<div class="row">). Then, add the desired number of columns (tags with appropriate.col-*-
* classes). Note that numbers in .col-*-* should always add up to 12 for each row.
Below we have collected some examples of basic Bootstrap grid layouts.
<div class="row">
<div class="col-sm-4">.col-sm-4</div>
<div class="col-sm-4">.col-sm-4</div>
<div class="col-sm-4">.col-sm-4</div>
</div>
Bootstrap Tables
The .table class adds basic styling to a table:
The .table-striped class adds zebra-stripes to a table:
The .table-bordered class adds borders on all sides of the table and cells:
The .table-hover class enables a hover state on table rows:
Responsive Tables:
The .table-responsive class creates a responsive table. The table will then scroll horizontally on small devices (under
768px). When viewing on anything larger than 768px wide, there is no difference:
.success
.info
.warning
.danger
The contextual classes:
used to color table rows (<tr>) or table cells (<td>)
Bootstrap Images
Responsive Images:
Create responsive images by adding an .img-responsive class to the <img> tag. The image will then scale nicely to the
parent element
The .img-rounded class adds rounded corners to an image (IE8 does not support rounded corners):
The .img-circle class shapes the image to a circle (IE8 does not support rounded corners):
The .img-thumbnail class shapes the image to a thumbnail:
Bootstrap Jumbotron
A jumbotron indicates a big box for calling extra attention to some special content or information.
A jumbotron is displayed as a grey box with rounded corners. It also enlarges the font sizes of the text
inside it.
Tip: Inside a jumbotron you can put nearly any valid HTML, including other Bootstrap elements/classes.
Use a <div> element with class .jumbotron to create a jumbotron:
Bootstrap Wells
The .well class adds a rounded border around an element with a gray background color and some padding:
Change the size of the well by adding the .well-sm class for small wells or .well-lg class for large wells:
<div class="well well-sm">
Small Well
</div>
Bootstrap Alerts
Bootstrap provides an easy way to create predefined alert messages:
Alerts are created with the .alert class, followed by one of the four contextual classes
.alert-success,.alert-info, .alert-warning or .alert-danger:
Closing Alerts
To close the alert message, add class="close" and data-dismiss="alert" to a link or a button element:
Animated Alerts
The .fade and .in classes adds a fading effect when closing the alert message:
Bootstrap Buttons
Bootstrap provides seven styles of buttons:
•btn-default
•btn-primary
•btn-success
•btn-info
•btn-warning
•btn-danger
•btn-link
The button classes can be used on an <a>, <button>,
or <input> element:
Bootstrap provides four button sizes:
•btn-lg
•btn-md
•btn-sm
•btn-xs
Add class .btn-block to create a block level button.
Any Question?
Thank You.

More Related Content

PPTX
Presentation of bootstrap
PDF
Bootstrap day2
PPTX
Bootstrap - Basics
PPT
Introduction to BOOTSTRAP
PPTX
Bootstrap
PPTX
Bootstrap PPT by Mukesh
PPTX
Bootstrap 3
PPTX
Bootstrap - Web Development Framework
Presentation of bootstrap
Bootstrap day2
Bootstrap - Basics
Introduction to BOOTSTRAP
Bootstrap
Bootstrap PPT by Mukesh
Bootstrap 3
Bootstrap - Web Development Framework

What's hot (20)

PPTX
An introduction to bootstrap
PPTX
Bootstrap 3
PPT
Bootstrap Part - 1
PPTX
Bootstrap ppt
PPS
Bootstrap 3 vs. bootstrap 4
PPTX
Bootstrap By Shafeeq
PDF
Bootstrap
PPTX
Bootstrap [part 1]
PDF
Bootstrap tutorial
PDF
Bootstrap tutorial
DOCX
Bootstrap grid system
PDF
Introduction to Bootstrap
PPTX
Bootstrap
PPTX
Twitter bootstrap
PPTX
Introduction to Bootstrap
PDF
Bootstrap
PPTX
Bootstrap webtech presentation - new
PPT
Twitter bootstrap (css, components and javascript)
PPT
Twitter bootstrap training_session_ppt
PDF
Bootstrap
An introduction to bootstrap
Bootstrap 3
Bootstrap Part - 1
Bootstrap ppt
Bootstrap 3 vs. bootstrap 4
Bootstrap By Shafeeq
Bootstrap
Bootstrap [part 1]
Bootstrap tutorial
Bootstrap tutorial
Bootstrap grid system
Introduction to Bootstrap
Bootstrap
Twitter bootstrap
Introduction to Bootstrap
Bootstrap
Bootstrap webtech presentation - new
Twitter bootstrap (css, components and javascript)
Twitter bootstrap training_session_ppt
Bootstrap
Ad

Viewers also liked (17)

DOCX
Байда Вишневецький
PDF
Onet eng
PPT
Char Dham yatra
DOCX
Brand Strategy for Liberty Street Brewing Company
PPTX
Women in science
PDF
Onetสังคม
PDF
7วิชาสามัญ คณิต เฉลยตอนที่ 1
PDF
Ssrn id2587282
PPTX
Церкви і храми Черкаського району
PPTX
кривое зеркало Der Zerrspiegel
PDF
7วิชาสามัญ ฟิสิกส์ + เฉลย
PPTX
Creative My Blog
PDF
ალბერ კამიუ სიზიფის მითი
PDF
7วิชาสามัญ สังคม
PPTX
Us healthcare industry upload
PPTX
New organic clothes image
PDF
7วิชาสามัญ ภาษาอังกฤษ + เฉลย
Байда Вишневецький
Onet eng
Char Dham yatra
Brand Strategy for Liberty Street Brewing Company
Women in science
Onetสังคม
7วิชาสามัญ คณิต เฉลยตอนที่ 1
Ssrn id2587282
Церкви і храми Черкаського району
кривое зеркало Der Zerrspiegel
7วิชาสามัญ ฟิสิกส์ + เฉลย
Creative My Blog
ალბერ კამიუ სიზიფის მითი
7วิชาสามัญ สังคม
Us healthcare industry upload
New organic clothes image
7วิชาสามัญ ภาษาอังกฤษ + เฉลย
Ad

Similar to Bootstrap day1 (20)

PPTX
Bootstrap: the full overview
PPT
Responsive web design
PDF
Bootstrap Presentation Mitesh
PDF
Introduction to Bootstrap
PDF
Bootstrap for webtechnology_data science.pdf
PPTX
Module 3 - Intro to Bootstrap
PDF
Boot strap introduction
PDF
HTML & CSS #10 : Bootstrap
PPSX
Twitter Bootstrap
PPTX
Boot strap
PPTX
Create Responsive Website Design with Bootstrap 3
PDF
Pemrograman Web 4 - Bootstrap 3
PPTX
Bootstrap
PPTX
Bootstrap
PDF
Bootstrap Workout 2015
PDF
Responsive Design and Bootstrap
PPTX
Professional bootstrap training for it companies online onsite offsite
PPTX
Bootstrap SLIDES for web development course
PPTX
Responsive web-design through bootstrap
PPTX
Lecture-10.pptx
Bootstrap: the full overview
Responsive web design
Bootstrap Presentation Mitesh
Introduction to Bootstrap
Bootstrap for webtechnology_data science.pdf
Module 3 - Intro to Bootstrap
Boot strap introduction
HTML & CSS #10 : Bootstrap
Twitter Bootstrap
Boot strap
Create Responsive Website Design with Bootstrap 3
Pemrograman Web 4 - Bootstrap 3
Bootstrap
Bootstrap
Bootstrap Workout 2015
Responsive Design and Bootstrap
Professional bootstrap training for it companies online onsite offsite
Bootstrap SLIDES for web development course
Responsive web-design through bootstrap
Lecture-10.pptx

More from Rafi Haidari (16)

PPTX
Lecture9 web design and development
PPTX
Lecture8 web design and development
PPTX
Lecture7 web design and development
PPTX
Lecture6 web design and development
PPTX
Lecture5 web design and development
PPTX
Lecture4 web design and development
PPTX
Lecture3 web design and development
PPTX
Lecture2 web design and development
PPTX
Lecture1 Web Design and Development
PDF
Bootstrap day3
PPTX
CSS_Day_ONE (W3schools)
PPTX
CSS_Day_Two (W3schools)
PPTX
CSS_Day_Three (W3schools)
PPTX
Html_Day_One (W3Schools)
PPTX
Html_Day_Three(W3Schools)
PPTX
HTML_Day_Two(W3Schools)
Lecture9 web design and development
Lecture8 web design and development
Lecture7 web design and development
Lecture6 web design and development
Lecture5 web design and development
Lecture4 web design and development
Lecture3 web design and development
Lecture2 web design and development
Lecture1 Web Design and Development
Bootstrap day3
CSS_Day_ONE (W3schools)
CSS_Day_Two (W3schools)
CSS_Day_Three (W3schools)
Html_Day_One (W3Schools)
Html_Day_Three(W3Schools)
HTML_Day_Two(W3Schools)

Recently uploaded (20)

PDF
Produktkatalog für HOBO Datenlogger, Wetterstationen, Sensoren, Software und ...
PDF
Transform-Your-Supply-Chain-with-AI-Driven-Quality-Engineering.pdf
PDF
MENA-ECEONOMIC-CONTEXT-VC MENA-ECEONOMIC
PPTX
Internet of Everything -Basic concepts details
PDF
Dell Pro Micro: Speed customer interactions, patient processing, and learning...
PDF
Convolutional neural network based encoder-decoder for efficient real-time ob...
PDF
The-Future-of-Automotive-Quality-is-Here-AI-Driven-Engineering.pdf
PPTX
AI-driven Assurance Across Your End-to-end Network With ThousandEyes
PDF
IT-ITes Industry bjjbnkmkhkhknbmhkhmjhjkhj
PDF
Co-training pseudo-labeling for text classification with support vector machi...
PDF
Auditboard EB SOX Playbook 2023 edition.
PDF
Early detection and classification of bone marrow changes in lumbar vertebrae...
PDF
Transform-Quality-Engineering-with-AI-A-60-Day-Blueprint-for-Digital-Success.pdf
PPTX
Module 1 Introduction to Web Programming .pptx
PDF
Transform-Your-Factory-with-AI-Driven-Quality-Engineering.pdf
PDF
Advancing precision in air quality forecasting through machine learning integ...
PDF
The-2025-Engineering-Revolution-AI-Quality-and-DevOps-Convergence.pdf
PPTX
GROUP4NURSINGINFORMATICSREPORT-2 PRESENTATION
PDF
Comparative analysis of machine learning models for fake news detection in so...
PDF
Transform-Your-Streaming-Platform-with-AI-Driven-Quality-Engineering.pdf
Produktkatalog für HOBO Datenlogger, Wetterstationen, Sensoren, Software und ...
Transform-Your-Supply-Chain-with-AI-Driven-Quality-Engineering.pdf
MENA-ECEONOMIC-CONTEXT-VC MENA-ECEONOMIC
Internet of Everything -Basic concepts details
Dell Pro Micro: Speed customer interactions, patient processing, and learning...
Convolutional neural network based encoder-decoder for efficient real-time ob...
The-Future-of-Automotive-Quality-is-Here-AI-Driven-Engineering.pdf
AI-driven Assurance Across Your End-to-end Network With ThousandEyes
IT-ITes Industry bjjbnkmkhkhknbmhkhmjhjkhj
Co-training pseudo-labeling for text classification with support vector machi...
Auditboard EB SOX Playbook 2023 edition.
Early detection and classification of bone marrow changes in lumbar vertebrae...
Transform-Quality-Engineering-with-AI-A-60-Day-Blueprint-for-Digital-Success.pdf
Module 1 Introduction to Web Programming .pptx
Transform-Your-Factory-with-AI-Driven-Quality-Engineering.pdf
Advancing precision in air quality forecasting through machine learning integ...
The-2025-Engineering-Revolution-AI-Quality-and-DevOps-Convergence.pdf
GROUP4NURSINGINFORMATICSREPORT-2 PRESENTATION
Comparative analysis of machine learning models for fake news detection in so...
Transform-Your-Streaming-Platform-with-AI-Driven-Quality-Engineering.pdf

Bootstrap day1

  • 2. • Bootstrap is the most popular HTML, CSS, and JavaScript framework for developing responsive, mobile-first web sites. • Bootstrap is completely free to download and use! • Bootstrap is a free front-end framework for faster and easier web development • Bootstrap includes HTML and CSS based design templates for typography, forms, buttons, tables, navigation, modals, image carousels and many other, as well as optional JavaScript plugins • Bootstrap also gives you the ability to easily create responsive designs What is Bootstrap?
  • 3. There are two ways to start using Bootstrap on your own web site. You can: • Download Bootstrap from getbootstrap.com • Include Bootstrap from a CDN: http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css Where to Get Bootstrap?
  • 4. Bootstrap Grid System Bootstrap's grid system allows up to 12 columns across the page. If you do not want to use all 12 column individually, you can group the columns together to create wider columns: Bootstrap's grid system is responsive, and the columns will re-arrange automatically depending on the screen size.
  • 5. Bootstrap Grid System Grid Classes The Bootstrap grid system has four classes: • xs (for phones) • sm (for tablets) • md (for desktops) • lg (for larger desktops) First; create a row (<div class="row">). Then, add the desired number of columns (tags with appropriate.col-*- * classes). Note that numbers in .col-*-* should always add up to 12 for each row. Below we have collected some examples of basic Bootstrap grid layouts. <div class="row"> <div class="col-sm-4">.col-sm-4</div> <div class="col-sm-4">.col-sm-4</div> <div class="col-sm-4">.col-sm-4</div> </div>
  • 6. Bootstrap Tables The .table class adds basic styling to a table: The .table-striped class adds zebra-stripes to a table: The .table-bordered class adds borders on all sides of the table and cells: The .table-hover class enables a hover state on table rows: Responsive Tables: The .table-responsive class creates a responsive table. The table will then scroll horizontally on small devices (under 768px). When viewing on anything larger than 768px wide, there is no difference: .success .info .warning .danger The contextual classes: used to color table rows (<tr>) or table cells (<td>)
  • 7. Bootstrap Images Responsive Images: Create responsive images by adding an .img-responsive class to the <img> tag. The image will then scale nicely to the parent element The .img-rounded class adds rounded corners to an image (IE8 does not support rounded corners): The .img-circle class shapes the image to a circle (IE8 does not support rounded corners): The .img-thumbnail class shapes the image to a thumbnail:
  • 8. Bootstrap Jumbotron A jumbotron indicates a big box for calling extra attention to some special content or information. A jumbotron is displayed as a grey box with rounded corners. It also enlarges the font sizes of the text inside it. Tip: Inside a jumbotron you can put nearly any valid HTML, including other Bootstrap elements/classes. Use a <div> element with class .jumbotron to create a jumbotron:
  • 9. Bootstrap Wells The .well class adds a rounded border around an element with a gray background color and some padding: Change the size of the well by adding the .well-sm class for small wells or .well-lg class for large wells: <div class="well well-sm"> Small Well </div>
  • 10. Bootstrap Alerts Bootstrap provides an easy way to create predefined alert messages: Alerts are created with the .alert class, followed by one of the four contextual classes .alert-success,.alert-info, .alert-warning or .alert-danger: Closing Alerts To close the alert message, add class="close" and data-dismiss="alert" to a link or a button element: Animated Alerts The .fade and .in classes adds a fading effect when closing the alert message:
  • 11. Bootstrap Buttons Bootstrap provides seven styles of buttons: •btn-default •btn-primary •btn-success •btn-info •btn-warning •btn-danger •btn-link The button classes can be used on an <a>, <button>, or <input> element: Bootstrap provides four button sizes: •btn-lg •btn-md •btn-sm •btn-xs Add class .btn-block to create a block level button.