title: Bootstrap/HTML - Using an Accordion and Bootstrap Grid
body: <p>So I wanted to know if it's possible to use the bootstrap grid (something like ) to try and have two accordions side by side.</p>
  
  <p>This is the code I've been using, taken from w3schools with some modifications. I've just included the relevant sections, but if more information is required, please say so.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>img {
    max-width: 100%;
    max-height: 100%;
  }
  
  .accordion {
    background-color: #eee;
    color: #444;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
    transition: 0.4s;
  }
  
  .active,
  .accordion:hover {
    background-color: #ccc;
  }
  
  .panel {
    padding: 0 18px;
    display: none;
    background-color: white;
    overflow: hidden;
  }
  
  .solid {
    border-style: solid;
  }
  
  .gainsboro-background {
    background-color: gainsboro;
  }
  
  .white-box {
    background-color: white;
  }
  
  ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #333;
  }
  
  li {
    float: left;
  }
  
  li a {
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
  }
  
  li a:hover:not(.active) {
    background-color: #111;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;button class="accordion"&gt;&lt;b&gt; Example 1 &lt;/b&gt;&lt;/button&gt;
  &lt;div class="panel"&gt;
    &lt;p&gt; Example 1 &lt;/p&gt;
    &lt;p&gt; Example 1 &lt;/p&gt;
    &lt;p&gt; Example 1 &lt;/p&gt;
  &lt;/div&gt;
  &lt;button class="accordion"&gt;&lt;b&gt; Example 2 &lt;/b&gt;&lt;/button&gt;
  &lt;div class="panel"&gt;
    &lt;p&gt; Example 2 &lt;/p&gt;
    &lt;p&gt; Example 2 &lt;/p&gt;
    &lt;p&gt; Example 2 &lt;/p&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>I thought I could add </p>
  
  <pre><code>&lt;div class="container-fluid"&gt;
    &lt;div class="row"&gt;
      &lt;div class="col-md-6"&gt;
  </code></pre>
  
  <p>Above the button classes, and obviously closing the div elements, but that doesn't work. I'm not too sure what I should do here. </p>
  
  <p><strong>Question:</strong> Is it possible to use the bootstrap grid on an accordion, to have two side by side accordions?.</p>
  
  <p>I have checked the appropriate APIs and I can't find a similar question.</p>