Welcome to collectivesolver - Programming & Software Q&A. A website you can trust. All programs tested and works. Contact: aviboots(AT)netvision.net.il
Liquid Web Managed Dedicated Server: RAID 1 SSD with 16GB of RAM minimum! 24/7 On-Site Heroic Support! Industry-Leading SLA!

BlueHost Web Hosting

Ecommerce Software - Best Ecommerce Platform Made for You - Free Trial

Ecommerce Software - Best Ecommerce Platform Made for You - Free Trial

getflywheel wordpress hosting

Liquid Web Cloud VPS Hosting

8,512 questions

11,796 answers

573 users

How to create nesting button group and dropdown menu with Bootstrap

1 Answer

0 votes
<!DOCTYPE html>
<html lang="en">
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link rel="stylesheet"
  <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
  <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<div class="container">
  <h2>Bootstrap Nesting Button Groups and Dropdown Menu</h2>
  <div class="btn-group">
    <button type="button" class="btn btn-primary">PHP</button>
    <button type="button" class="btn btn-primary">CSS</button>
    <div class="btn-group">
      <button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown">
      Programming <span class="caret"></span></button>
      <ul class="dropdown-menu" role="menu">
        <li><a href="#">C</a></li>
        <li><a href="#">C++</a></li>


answered Jul 13, 2017 by avibootz
edited Jul 13, 2017 by avibootz