Skip to main content
PISAVA
VELIKOST
- 0 +
VELIKE/MALE
STIL

Accordion module

Go to heading 3 tab

Faq

Accordion 1 Some placeholder content for the first accordion panel. This panel is shown by default, thanks to the .show class.
Some placeholder content for the second accordion panel. This panel is hidden by default.
And lastly, the placeholder content for the third and final accordion panel. This panel is hidden by default.

Close other groups

Add data-parent parameter to groups.

Faq

Accordion 1 Some placeholder content for the first accordion panel. This panel is shown by default, thanks to the .show class.
Some placeholder content for the second accordion panel. This panel is hidden by default.
And lastly, the placeholder content for the third and final accordion panel. This panel is hidden by default.

<section class="block-accordion">
  <div class="block-accordion__title">
    <h2>Faq</h2>
  </div>
  <div class="block-accordion__content">
    <div class="accordion" id="accordionExample">
      <div class="card">
        <div class="card-header" id="headingOne">
          <h2 class="mb-0">
            <a href="#headingOne" data-toggle="collapse" data-target="#collapseOne" aria-expanded="true" aria-controls="collapseOne">
              Eu eget lectus nulla mauris proin egestas. Tincidunt convallis id mauris faucibus scelerisque. Urna arcu massa, eu morbi et nisl. Sit facilisis augue feugiat tellus turpis.
            </a>
          </h2>
        </div>

        <div id="collapseOne" class="collapse show" aria-labelledby="headingOne">
          <div class="card-body">
            <img src="../images/content/faq.jpg" alt="Accordion 1" class="img-fluid" />
            Some placeholder content for the first accordion panel. This panel is shown by default, thanks to the <code>.show</code> class.
          </div>
        </div>
      </div>
      <div class="card">
        <div class="card-header" id="headingTwo">
          <h2 class="mb-0">
            <a href="#headingTwo" class="collapsed" data-toggle="collapse" data-target="#collapseTwo" aria-expanded="false" aria-controls="collapseTwo">
              Option #2
            </a>
          </h2>
        </div>
        <div id="collapseTwo" class="collapse" aria-labelledby="headingTwo">
          <div class="card-body">
            Some placeholder content for the second accordion panel. This panel is hidden by default.
          </div>
        </div>
      </div>
      <div class="card">
        <div class="card-header" id="headingThree">
          <h2 class="mb-0">
            <a href="#headingThree" class="collapsed" data-toggle="collapse" data-target="#collapseThree" aria-expanded="false" aria-controls="collapseThree">
              Option #3
            </a>
          </h2>
        </div>
        <div id="collapseThree" class="collapse" aria-labelledby="headingThree">
          <div class="card-body">
            And lastly, the placeholder content for the third and final accordion panel. This panel is hidden by default.
          </div>
        </div>
      </div>
    </div>
  </div>  
  <div class="block-accordion__actions">
    <a href="#">Več</a>
  </div>
</section>  
              
Skip to menu