title: Multiple CSS collapse/expand in same page
body: <p>I've CSS collapse/expand code refereed from @ <a href="https://codepen.io/peternguyen/pen/hICga/" rel="nofollow noreferrer">https://codepen.io/peternguyen/pen/hICga/</a> . But the problem with my code is that they won't work in same page. I intended to use it at Wordpress page.
  Have a look at my code. Thanks.</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>input {
      display: none;
      visibility: hidden;
  }
  
  label {
      font-weight: bold;
      font-size: 15px;
      display: block;
      color: #666;
      text-decoration: underline;
  }
  
  label:hover {
      color: #000;
  }
  
  #expand {
      height: 0px;
      overflow: hidden;
      transition: height 0.5s;
      color: #000;
  }
  
  section {
      padding: 0 20px;
  }
  
  #toggle:checked ~ #expand {
      height: auto;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;input id="toggle" type="checkbox"&gt;
  &lt;label for="toggle"&gt;Hidden Kitten&lt;/label&gt;
  &lt;div id="expand"&gt;
      &lt;section&gt;
          &lt;p&gt;mew&lt;/p&gt;
      &lt;/section&gt;
  &lt;/div&gt;
  &lt;input id="toggle" type="checkbox"&gt;
  &lt;label for="toggle"&gt;Hidden Kitten&lt;/label&gt;
  &lt;div id="expand"&gt;
      &lt;section&gt;
          &lt;p&gt;mew&lt;/p&gt;
      &lt;/section&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>