SlideShare a Scribd company logo
1 of 35
Download to read offline
Bootstrap
Introduction to Twitter Bootstrap 3
in/nikhilbaby
#Agenda
• Web Development 101

• Twitter Bootstrap

• Building a responsive web page with bootstrap components
#Web Development 101
• HTML
Defines the data and structure of page using elements

• CSS
Defines how the data and the elements actually look, and how they behave
when interacting with them

• Javascript
The programming language of the web
Basic
HTML
Structure
#HowtouseCSS
#CSS Selectors
Selector Example Example Description
.class .intro Selects all elements with class="intro"
#id #firstname Selects the element with id="firstname"
* * Selects all elements
element p Selects all <p> elements
Reference: https://www.w3schools.com/cssref/css_selectors.asp
Reference: https://www.w3schools.com/css/css_boxmodel.asp
#Box Model
https://getbootstrap.com/
#Twitter Bootstrap
• Bootstrap is the most popular HTML, CSS, and JS framework for
developing responsive, mobile first projects on the web.

• As of Dec 2017, 16.3% of all websites are powered by Bootstrap.

(https://w3techs.com/technologies/details/js-bootstrap/all/all)

• Bootstrap, originally named Twitter Blueprint, was developed by Mark Otto, and
Jacob Thornton at Twitter as a framework to encourage consistency across internal
tools.

• It was released as an open source project in August 2011.
#Bootstrap Features
• Mobile first approach (also known as progressive enhancement)

• Supported by all popular browsers

• Easy to get started

• Responsive design
#Bootstrap Contents & Filestructure
• Scaffolding: Grid System

• CSS: Classes

• Components: Dropdown 

• Javascript plugins: Carousel
#Media Queries
• Media queries in CSS3 extend the CSS2 media types idea: Instead of
looking for a type of device, they look at the capability of the device.

• Media queries can be used to check many things, such as:

• width and height of the viewport

• width and height of the device

• orientation

• resolution
#Grid Layout
• Bootstrap includes a responsive, mobile first fluid grid system that
appropriately scales up to 12 columns as the device or viewport size
increases.

• Grid systems are used for creating page layouts through a series of rows
and columns that house your content.

• When using the grid system you need to keep in mind that the design has
to be first made for the mobile devices and then scaled to the larger ones.
#Grid Layout
#Grid Options
CSS Classes
#Tables
• For basic styling—light padding and only horizontal dividers—add the
base class .table to any <table>

• Use .table-striped to add zebra-striping to any table row within the
<tbody>

• Add .table-bordered for borders on all sides of the table and cells

• Add .table-hover to enable a hover state on table rows within a <tbody>
#Tables
#Forms
• Individual form controls automatically receive some global styling.

• All textual <input>, <textarea>, and <select> elements with .form-control
are set to width: 100%; by default.

• Wrap labels and controls in .form-group for optimum spacing.

• Do not mix form groups directly with input groups. Instead, nest the input
group inside of the form group.
#Buttons
• Use the button classes on an <a>, <button>, or <input> element.

• Add .btn-lg, .btn-sm, or .btn-xs for additional sizes.

• Add the disabled attribute to <button> buttons.

• Add the .active class to change the state of the button to active.
#Images
• Images in Bootstrap 3 can be made responsive-friendly via the addition of
the .img-responsive class.

• This applies max-width: 100%;, height: auto; and display: block; to the
image so that it scales nicely to the parent element. 

• To center images which use the .img-responsive class, use .center-block
Reusable Components
#Dropdown
• Wrap the dropdown's trigger and the dropdown menu within .dropdown

• Dropdown menus can be changed to expand upwards (instead of
downwards) by adding .dropup to the parent.

• Add a header to label sections of actions in any dropdown menu.

• Add .disabled to a <li> in the dropdown to disable the link.
#Navbar
• Navbars are responsive meta components that serve as navigation
headers for your application or site.

• They begin collapsed (and are toggleable) in mobile views and become
horizontal as the available viewport width increases.

• Be sure to use a <nav> element or, if using a more generic element such
as a <div>, add a role="navigation" to every navbar to explicitly
Javascript Components
#Modal
• Modals are streamlined, but flexible, dialog prompts with the minimum
required functionality and smart defaults.

• Be sure not to open a modal while another is still visible. Showing more
than one modal at a time requires custom code.

• Modals have two optional sizes, available via modifier classes to be placed
on a .modal-dialog:

• .model-lg

• .model-sm
#Carousel
• A slideshow component for cycling through elements, like a carousel.

• Nested carousels are not supported.

• Add captions to your slides easily with the .carousel-caption element
within any .item.

More Related Content

Similar to 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 3Wahyu Putra
 
Advanced CSS.pptx
Advanced CSS.pptxAdvanced CSS.pptx
Advanced CSS.pptxDiyonaVas
 
Building the Billion Dollar Landing Page with Bootstrap
Building the Billion Dollar Landing Page with BootstrapBuilding the Billion Dollar Landing Page with Bootstrap
Building the Billion Dollar Landing Page with BootstrapGercek Karakus
 
Bootstrap 3
Bootstrap 3Bootstrap 3
Bootstrap 3Lanh Le
 
Web development basics (Part-2)
Web development basics (Part-2)Web development basics (Part-2)
Web development basics (Part-2)Rajat Pratap Singh
 
Bootstrap - Basics
Bootstrap - BasicsBootstrap - Basics
Bootstrap - BasicsFirosK2
 
Node.js 101
 Node.js 101 Node.js 101
Node.js 101FITC
 
FITC - Bootstrap Unleashed
FITC - Bootstrap UnleashedFITC - Bootstrap Unleashed
FITC - Bootstrap UnleashedRami Sayar
 
Bootstrap webtech presentation - new
Bootstrap   webtech presentation - newBootstrap   webtech presentation - new
Bootstrap webtech presentation - newWebtech Learning
 
Chapter 17: Responsive Web Design
Chapter 17: Responsive Web DesignChapter 17: Responsive Web Design
Chapter 17: Responsive Web DesignSteve Guinan
 
Making Your Site Printable: CSS Summit 2014
Making Your Site Printable: CSS Summit 2014Making Your Site Printable: CSS Summit 2014
Making Your Site Printable: CSS Summit 2014Adrian Roselli
 
HTML5- Create divisions in a web page
HTML5- Create divisions in a web pageHTML5- Create divisions in a web page
HTML5- Create divisions in a web pageGrayzon Gonzales, LPT
 
Introduction to Bootstrap: Design for Developers
Introduction to Bootstrap: Design for DevelopersIntroduction to Bootstrap: Design for Developers
Introduction to Bootstrap: Design for DevelopersMelvin John
 
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
 
Intro To Twitter Bootstrap
Intro To Twitter BootstrapIntro To Twitter Bootstrap
Intro To Twitter BootstrapAhmed Haque
 
Creating Landing Pages and Layouts for Drupal 8 - DrupalCon Baltimore
Creating Landing Pages and Layouts for Drupal 8 - DrupalCon BaltimoreCreating Landing Pages and Layouts for Drupal 8 - DrupalCon Baltimore
Creating Landing Pages and Layouts for Drupal 8 - DrupalCon BaltimoreSuzanne Dergacheva
 

Similar to Introduction to Responsive Web Development (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
 
Advanced CSS.pptx
Advanced CSS.pptxAdvanced CSS.pptx
Advanced CSS.pptx
 
Building the Billion Dollar Landing Page with Bootstrap
Building the Billion Dollar Landing Page with BootstrapBuilding the Billion Dollar Landing Page with Bootstrap
Building the Billion Dollar Landing Page with Bootstrap
 
Bootstrap 3
Bootstrap 3Bootstrap 3
Bootstrap 3
 
Web development basics (Part-2)
Web development basics (Part-2)Web development basics (Part-2)
Web development basics (Part-2)
 
Bootstrap - Basics
Bootstrap - BasicsBootstrap - Basics
Bootstrap - Basics
 
Dangerous CSS
Dangerous CSSDangerous CSS
Dangerous CSS
 
Node.js 101
 Node.js 101 Node.js 101
Node.js 101
 
Bootstrap 3
Bootstrap 3Bootstrap 3
Bootstrap 3
 
FITC - Bootstrap Unleashed
FITC - Bootstrap UnleashedFITC - Bootstrap Unleashed
FITC - Bootstrap Unleashed
 
Bootstrap webtech presentation - new
Bootstrap   webtech presentation - newBootstrap   webtech presentation - new
Bootstrap webtech presentation - new
 
Layouts Part 2
Layouts Part 2Layouts Part 2
Layouts Part 2
 
Chapter 17: Responsive Web Design
Chapter 17: Responsive Web DesignChapter 17: Responsive Web Design
Chapter 17: Responsive Web Design
 
Making Your Site Printable: CSS Summit 2014
Making Your Site Printable: CSS Summit 2014Making Your Site Printable: CSS Summit 2014
Making Your Site Printable: CSS Summit 2014
 
HTML5- Create divisions in a web page
HTML5- Create divisions in a web pageHTML5- Create divisions in a web page
HTML5- Create divisions in a web page
 
Introduction to Bootstrap: Design for Developers
Introduction to Bootstrap: Design for DevelopersIntroduction to Bootstrap: Design for Developers
Introduction to Bootstrap: Design for Developers
 
CSS Bootstrap.pdf
CSS  Bootstrap.pdfCSS  Bootstrap.pdf
CSS Bootstrap.pdf
 
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
 
Intro To Twitter Bootstrap
Intro To Twitter BootstrapIntro To Twitter Bootstrap
Intro To Twitter Bootstrap
 
Creating Landing Pages and Layouts for Drupal 8 - DrupalCon Baltimore
Creating Landing Pages and Layouts for Drupal 8 - DrupalCon BaltimoreCreating Landing Pages and Layouts for Drupal 8 - DrupalCon Baltimore
Creating Landing Pages and Layouts for Drupal 8 - DrupalCon Baltimore
 

Recently uploaded

How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
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
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?XfilesPro
 
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
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAndikSusilo4
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
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
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
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
 

Recently uploaded (20)

How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
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...
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
 
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
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & Application
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
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 ...
 

Introduction to Responsive Web Development

  • 1. Bootstrap Introduction to Twitter Bootstrap 3 in/nikhilbaby
  • 2. #Agenda • Web Development 101 • Twitter Bootstrap • Building a responsive web page with bootstrap components
  • 3. #Web Development 101 • HTML Defines the data and structure of page using elements • CSS Defines how the data and the elements actually look, and how they behave when interacting with them • Javascript The programming language of the web
  • 6. #CSS Selectors Selector Example Example Description .class .intro Selects all elements with class="intro" #id #firstname Selects the element with id="firstname" * * Selects all elements element p Selects all <p> elements Reference: https://www.w3schools.com/cssref/css_selectors.asp
  • 9. #Twitter Bootstrap • Bootstrap is the most popular HTML, CSS, and JS framework for developing responsive, mobile first projects on the web. • As of Dec 2017, 16.3% of all websites are powered by Bootstrap. (https://w3techs.com/technologies/details/js-bootstrap/all/all) • Bootstrap, originally named Twitter Blueprint, was developed by Mark Otto, and Jacob Thornton at Twitter as a framework to encourage consistency across internal tools. • It was released as an open source project in August 2011.
  • 10. #Bootstrap Features • Mobile first approach (also known as progressive enhancement) • Supported by all popular browsers • Easy to get started • Responsive design
  • 11. #Bootstrap Contents & Filestructure • Scaffolding: Grid System • CSS: Classes • Components: Dropdown • Javascript plugins: Carousel
  • 12.
  • 13. #Media Queries • Media queries in CSS3 extend the CSS2 media types idea: Instead of looking for a type of device, they look at the capability of the device. • Media queries can be used to check many things, such as: • width and height of the viewport • width and height of the device • orientation • resolution
  • 14. #Grid Layout • Bootstrap includes a responsive, mobile first fluid grid system that appropriately scales up to 12 columns as the device or viewport size increases. • Grid systems are used for creating page layouts through a series of rows and columns that house your content. • When using the grid system you need to keep in mind that the design has to be first made for the mobile devices and then scaled to the larger ones.
  • 16.
  • 19. #Tables • For basic styling—light padding and only horizontal dividers—add the base class .table to any <table> • Use .table-striped to add zebra-striping to any table row within the <tbody> • Add .table-bordered for borders on all sides of the table and cells • Add .table-hover to enable a hover state on table rows within a <tbody>
  • 21. #Forms • Individual form controls automatically receive some global styling. • All textual <input>, <textarea>, and <select> elements with .form-control are set to width: 100%; by default. • Wrap labels and controls in .form-group for optimum spacing. • Do not mix form groups directly with input groups. Instead, nest the input group inside of the form group.
  • 22.
  • 23. #Buttons • Use the button classes on an <a>, <button>, or <input> element. • Add .btn-lg, .btn-sm, or .btn-xs for additional sizes. • Add the disabled attribute to <button> buttons. • Add the .active class to change the state of the button to active.
  • 24.
  • 25. #Images • Images in Bootstrap 3 can be made responsive-friendly via the addition of the .img-responsive class. • This applies max-width: 100%;, height: auto; and display: block; to the image so that it scales nicely to the parent element. • To center images which use the .img-responsive class, use .center-block
  • 26.
  • 28. #Dropdown • Wrap the dropdown's trigger and the dropdown menu within .dropdown • Dropdown menus can be changed to expand upwards (instead of downwards) by adding .dropup to the parent. • Add a header to label sections of actions in any dropdown menu. • Add .disabled to a <li> in the dropdown to disable the link.
  • 29.
  • 30. #Navbar • Navbars are responsive meta components that serve as navigation headers for your application or site. • They begin collapsed (and are toggleable) in mobile views and become horizontal as the available viewport width increases. • Be sure to use a <nav> element or, if using a more generic element such as a <div>, add a role="navigation" to every navbar to explicitly
  • 31.
  • 33. #Modal • Modals are streamlined, but flexible, dialog prompts with the minimum required functionality and smart defaults. • Be sure not to open a modal while another is still visible. Showing more than one modal at a time requires custom code. • Modals have two optional sizes, available via modifier classes to be placed on a .modal-dialog: • .model-lg • .model-sm
  • 34.
  • 35. #Carousel • A slideshow component for cycling through elements, like a carousel. • Nested carousels are not supported. • Add captions to your slides easily with the .carousel-caption element within any .item.