SlideShare a Scribd company logo
Steps for cerating dropdown
responsive menu in bootstrap
Tabs with Dropdowns
Pills with Dropdowns
Tabs with Dropdowns/Pills with Dropdowns
step 1
• Create <ul> and <li> tag for navegation
• <ul>
<li> Home</li>
<li>About us</li>
<li> Product</li>
<li> Contact</li>
</ul>
Tabs with Dropdowns/Pills with Dropdowns
step 2
• Add class="nav nav-tabs(for creating simple
navigation)
• <ul class="nav nav-tabs >
<li> Home</li>
<li>About us</li>
<li> Product</li>
<li> Contact</li>
</ul>
Tabs with Dropdowns/Pills with Dropdowns
step 3
• Add class="dropdown in <li>product</li>
(creating simple navigation)
• <ul class="nav nav-tabs >
<li> Home</li>
<li>About us</li>
<li class="dropdown > Product</li>
<li> Contact</li>
</ul>
Tabs with Dropdowns/Pills with Dropdowns
step 4
• Add <ul> and <li> tag(for dropdown menu in <li> product</li>)
• <ul class="nav nav-tabs >
<li> Home</li>
<li>About us</li>
<li class="dropdown > Product
<ul>
<li> car</li>
<li>car red</li>
<li>car green</li>
<li>car blue</li>
</ul>
</li>
<li> Contact</li>
</ul>
Tabs with Dropdowns/Pills with Dropdowns
step 5
• Add class="dropdown-menu“ in dropdown <ul>(for creating dropdown)
• <ul class="nav nav-tabs >
<li> Home</li>
<li>About us</li>
<li class="dropdown > Product
<ul class="dropdown-menu “>
<li> car</li>
<li>car red</li>
<li>car green</li>
<li>car blue</li>
</ul>
</li>
<li> Contact</li>
</ul>
Tabs with Dropdowns/Pills with Dropdowns
step 6
• Add tag<a class="dropdown-toggle" data-toggle="dropdown" href="#">(inside <li>
befor product text for creating dropdown toggle effect on dropdown)
• <ul class="nav nav-tabs >
<li> Home</li>
<li>About us</li>
<li class="dropdown >
<a class="dropdown-toggle" data-toggle="dropdown" href="#"> Product
<ul class="dropdown-menu “>
<li> car</li>
<li>car red</li>
<li>car green</li>
<li>car blue</li>
</ul>
</li>
<li> Contact</li>
</ul>
Tabs with Dropdowns/Pills with Dropdowns
step 7
• Add tag <span class="caret"></span> (inside <li> after product text for creating
arrow indecating dropdown)
• <ul class="nav nav-tabs >
<li> Home</li>
<li>About us</li>
<li class="dropdown >
<a class="dropdown-toggle" data-toggle="dropdown" href="#"> Product
<span class="caret"></span>
<ul class="dropdown-menu “>
<li> car</li>
<li>car red</li>
<li>car green</li>
<li>car blue</li>
</ul>
</li>
<li> Contact</li>
</ul>
Tabs with Dropdowns/Pills with Dropdowns
step 8
• Add tag <li class="divider"></li> (before <li>car blue</li> for creating line separating )
• <ul class="nav nav-tabs >
<li> Home</li>
<li>About us</li>
<li class="dropdown >
<a class="dropdown-toggle" data-toggle="dropdown" href="#"> Product
<span class="caret"></span>
<ul class="dropdown-menu “>
<li> car</li>
<li>car red</li>
<li>car green</li>
<li class="divider"></li>
<li>car blue</li>
</ul>
</li>
<li> Contact</li>
</ul>

More Related Content

PPTX
4. Introduction to ASP.NET MVC - Part I
PPTX
4. introduction to Asp.Net MVC - Part II
KEY
Advanced Django Forms Usage
PDF
2024 Trend Updates: What Really Works In SEO & Content Marketing
PDF
Storytelling For The Web: Integrate Storytelling in your Design Process
PDF
Artificial Intelligence, Data and Competition – SCHREPEL – June 2024 OECD dis...
PDF
How to Leverage AI to Boost Employee Wellness - Lydia Di Francesco - SocialHR...
PDF
2024 State of Marketing Report – by Hubspot
4. Introduction to ASP.NET MVC - Part I
4. introduction to Asp.Net MVC - Part II
Advanced Django Forms Usage
2024 Trend Updates: What Really Works In SEO & Content Marketing
Storytelling For The Web: Integrate Storytelling in your Design Process
Artificial Intelligence, Data and Competition – SCHREPEL – June 2024 OECD dis...
How to Leverage AI to Boost Employee Wellness - Lydia Di Francesco - SocialHR...
2024 State of Marketing Report – by Hubspot

Recently uploaded (20)

PDF
BRANDBOOK-Presidential Award Scheme-Kenya-2023
PPTX
Tenders & Contracts Works _ Services Afzal.pptx
PPTX
Media And Information Literacy for Grade 12
PPT
UNIT I- Yarn, types, explanation, process
PDF
Phone away, tabs closed: No multitasking
PPTX
AC-Unit1.pptx CRYPTOGRAPHIC NNNNFOR ALL
PPTX
Causes of Flooding by Slidesgo sdnl;asnjdl;asj.pptx
PPTX
mahatma gandhi bus terminal in india Case Study.pptx
PDF
Quality Control Management for RMG, Level- 4, Certificate
PDF
YOW2022-BNE-MinimalViableArchitecture.pdf
PDF
Urban Design Final Project-Site Analysis
PPTX
AD Bungalow Case studies Sem 2.pptxvwewev
PDF
UNIT 1 Introduction fnfbbfhfhfbdhdbdto Java.pptx.pdf
PPTX
Complete Guide to Microsoft PowerPoint 2019 – Features, Tools, and Tips"
PPTX
rapid fire quiz in your house is your india.pptx
PPTX
BSCS lesson 3.pptxnbbjbb mnbkjbkbbkbbkjb
PDF
Emailing DDDX-MBCaEiB.pdf DDD_Europe_2022_Intro_to_Context_Mapping_pdf-165590...
PDF
GREEN BUILDING MATERIALS FOR SUISTAINABLE ARCHITECTURE AND BUILDING STUDY
DOCX
actividad 20% informatica microsoft project
PPTX
CLASSIFICATION OF YARN- process, explanation
BRANDBOOK-Presidential Award Scheme-Kenya-2023
Tenders & Contracts Works _ Services Afzal.pptx
Media And Information Literacy for Grade 12
UNIT I- Yarn, types, explanation, process
Phone away, tabs closed: No multitasking
AC-Unit1.pptx CRYPTOGRAPHIC NNNNFOR ALL
Causes of Flooding by Slidesgo sdnl;asnjdl;asj.pptx
mahatma gandhi bus terminal in india Case Study.pptx
Quality Control Management for RMG, Level- 4, Certificate
YOW2022-BNE-MinimalViableArchitecture.pdf
Urban Design Final Project-Site Analysis
AD Bungalow Case studies Sem 2.pptxvwewev
UNIT 1 Introduction fnfbbfhfhfbdhdbdto Java.pptx.pdf
Complete Guide to Microsoft PowerPoint 2019 – Features, Tools, and Tips"
rapid fire quiz in your house is your india.pptx
BSCS lesson 3.pptxnbbjbb mnbkjbkbbkbbkjb
Emailing DDDX-MBCaEiB.pdf DDD_Europe_2022_Intro_to_Context_Mapping_pdf-165590...
GREEN BUILDING MATERIALS FOR SUISTAINABLE ARCHITECTURE AND BUILDING STUDY
actividad 20% informatica microsoft project
CLASSIFICATION OF YARN- process, explanation
Ad
Ad

Steps for creating dropdown

  • 1. Steps for cerating dropdown responsive menu in bootstrap Tabs with Dropdowns Pills with Dropdowns
  • 2. Tabs with Dropdowns/Pills with Dropdowns step 1 • Create <ul> and <li> tag for navegation • <ul> <li> Home</li> <li>About us</li> <li> Product</li> <li> Contact</li> </ul>
  • 3. Tabs with Dropdowns/Pills with Dropdowns step 2 • Add class="nav nav-tabs(for creating simple navigation) • <ul class="nav nav-tabs > <li> Home</li> <li>About us</li> <li> Product</li> <li> Contact</li> </ul>
  • 4. Tabs with Dropdowns/Pills with Dropdowns step 3 • Add class="dropdown in <li>product</li> (creating simple navigation) • <ul class="nav nav-tabs > <li> Home</li> <li>About us</li> <li class="dropdown > Product</li> <li> Contact</li> </ul>
  • 5. Tabs with Dropdowns/Pills with Dropdowns step 4 • Add <ul> and <li> tag(for dropdown menu in <li> product</li>) • <ul class="nav nav-tabs > <li> Home</li> <li>About us</li> <li class="dropdown > Product <ul> <li> car</li> <li>car red</li> <li>car green</li> <li>car blue</li> </ul> </li> <li> Contact</li> </ul>
  • 6. Tabs with Dropdowns/Pills with Dropdowns step 5 • Add class="dropdown-menu“ in dropdown <ul>(for creating dropdown) • <ul class="nav nav-tabs > <li> Home</li> <li>About us</li> <li class="dropdown > Product <ul class="dropdown-menu “> <li> car</li> <li>car red</li> <li>car green</li> <li>car blue</li> </ul> </li> <li> Contact</li> </ul>
  • 7. Tabs with Dropdowns/Pills with Dropdowns step 6 • Add tag<a class="dropdown-toggle" data-toggle="dropdown" href="#">(inside <li> befor product text for creating dropdown toggle effect on dropdown) • <ul class="nav nav-tabs > <li> Home</li> <li>About us</li> <li class="dropdown > <a class="dropdown-toggle" data-toggle="dropdown" href="#"> Product <ul class="dropdown-menu “> <li> car</li> <li>car red</li> <li>car green</li> <li>car blue</li> </ul> </li> <li> Contact</li> </ul>
  • 8. Tabs with Dropdowns/Pills with Dropdowns step 7 • Add tag <span class="caret"></span> (inside <li> after product text for creating arrow indecating dropdown) • <ul class="nav nav-tabs > <li> Home</li> <li>About us</li> <li class="dropdown > <a class="dropdown-toggle" data-toggle="dropdown" href="#"> Product <span class="caret"></span> <ul class="dropdown-menu “> <li> car</li> <li>car red</li> <li>car green</li> <li>car blue</li> </ul> </li> <li> Contact</li> </ul>
  • 9. Tabs with Dropdowns/Pills with Dropdowns step 8 • Add tag <li class="divider"></li> (before <li>car blue</li> for creating line separating ) • <ul class="nav nav-tabs > <li> Home</li> <li>About us</li> <li class="dropdown > <a class="dropdown-toggle" data-toggle="dropdown" href="#"> Product <span class="caret"></span> <ul class="dropdown-menu “> <li> car</li> <li>car red</li> <li>car green</li> <li class="divider"></li> <li>car blue</li> </ul> </li> <li> Contact</li> </ul>