Basic
Lorem ipsum dolor sit amet,consectetur adipisicing elit,sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Lorem ipsum dolor sit amet,consectetur adipisicing elit,sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Anim pariatur cliche reprehenderit,enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute,non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor,sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica,craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table,raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.
<div id="toggleAccordion"> <div class="card"> <div class="card-header" id="..."> <section class="mb-0 mt-0"> <div role="menu" class="collapsed" data-toggle="collapse" data-target="#defaultAccordionOne" aria-expanded="true" aria-controls="defaultAccordionOne"> Collapsible Group Item #1 <div class="icons"><svg> ... </svg></div> </div> </section> </div> <div id="defaultAccordionOne" class="collapse" aria-labelledby="..." data-parent="#toggleAccordion"> <div class="card-body"> ....................... ....................... </div> </div> </div> <div class="card"> <div class="card-header" id="..."> <section class="mb-0 mt-0"> <div role="menu" class="" data-toggle="collapse" data-target="#defaultAccordionTwo" aria-expanded="false" aria-controls="defaultAccordionTwo"> Collapsible Group Item #2 <div class="icons"><svg> ... </svg></div> </div> </section> </div> <div id="defaultAccordionTwo" class="collapse show" aria-labelledby="..." data-parent="#toggleAccordion"> <div class="card-body"> ....................... ....................... </div> </div> </div> <div class="card"> <div class="card-header" id="..."> <h5 class="mb-0 mt-0"> <div role="menu" class="collapsed" data-toggle="collapse" data-target="#defaultAccordionThree" aria-expanded="false" aria-controls="defaultAccordionThree"> Collapsible Group Item #3 <div class="icons"><svg> ... </svg></div> </div> </h5> </div> <div id="defaultAccordionThree" class="collapse" aria-labelledby="..." data-parent="#toggleAccordion"> <div class="card-body"> ....................... ....................... </div> </div> </div> </div>
Without Spacing
Add .no-outer-spacing
class in parent div
of div.card
element.
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.
<div id="withoutSpacing" class="no-outer-spacing"><div class="card"><div class="card-header" id="headingOne2"><section class="mb-0 mt-0"><div role="menu" class="" data-toggle="collapse" data-target="#withoutSpacingAccordionOne" aria-expanded="true" aria-controls="withoutSpacingAccordionOne">Collapsible Group Item #1 <div class="icons"><svg>... </svg></div></div></section></div><div id="withoutSpacingAccordionOne" class="collapse show" aria-labelledby="headingOne2" data-parent="#withoutSpacing"><div class="card-body">................ ................ </div></div></div><div class="card"><div class="card-header" id="headingTwo4"><section class="mb-0 mt-0"><div role="menu" class="collapsed" data-toggle="collapse" data-target="#withoutSpacingAccordionTwo" aria-expanded="false" aria-controls="withoutSpacingAccordionTwo">Collapsible Group Item #2 <div class="icons"><svg>... </svg></div></div></section></div><div id="withoutSpacingAccordionTwo" class="collapse" aria-labelledby="headingTwo4" data-parent="#withoutSpacing"><div class="card-body">................ ................ </div></div></div><div class="card"><div class="card-header" id="headingThree4"><section class="mb-0 mt-0"><div role="menu" class="collapsed" data-toggle="collapse" data-target="#withoutSpacingAccordionThree" aria-expanded="false" aria-controls="withoutSpacingAccordionThree">Collapsible Group Item #3 <div class="icons"><svg>... </svg></div></div></section></div><div id="withoutSpacingAccordionThree" class="collapse" aria-labelledby="headingThree4" data-parent="#withoutSpacing"><div class="card-body">................ ................ </div></div></div></div>
Icons
Add div.accordion-icon
with svg
icon placed inside it.
Lorem ipsum dolor sit amet,consectetur adipisicing elit,sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Lorem ipsum dolor sit amet,consectetur adipisicing elit,sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Anim pariatur cliche reprehenderit,enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute,non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor,sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica,craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table,raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.
<div id="iconsAccordion" class="accordion-icons"> <div class="card"> <div class="card-header" id="..."> <section class="mb-0 mt-0"> <div role="menu" class="collapsed" data-toggle="collapse" data-target="#iconAccordionOne" aria-expanded="true" aria-controls="iconAccordionOne"> <div class="accordion-icon"><svg> ... </svg></div> Collapsible Group Item #1 <div class="icons"><svg> ... </svg></div> </div> </section> </div> <div id="iconAccordionOne" class="collapse" aria-labelledby="..." data-parent="#iconsAccordion"> <div class="card-body"> .................. .................. </div> </div> </div> <div class="card"> <div class="card-header" id="..."> <section class="mb-0 mt-0"> <div role="menu" class="collapsed" data-toggle="collapse" data-target="#iconAccordionTwo" aria-expanded="false" aria-controls="iconAccordionTwo"> <div class="accordion-icon"><svg> ... </svg></div> Collapsible Group Item #2 <div class="icons"><svg> ... </svg></div> </div> </section> </div> <div id="iconAccordionTwo" class="collapse" aria-labelledby="..." data-parent="#iconsAccordion"> <div class="card-body"> ................... ................... </div> </div> </div> <div class="card"> <div class="card-header" id="..."> <section class="mb-0 mt-0"> <div role="menu" class="" data-toggle="collapse" data-target="#iconAccordionThree" aria-expanded="false" aria-controls="iconAccordionThree"> <div class="accordion-icon"><svg> ... </svg></div> Collapsible Group Item #3 <div class="icons"><svg> ... </svg></div> </div> </section> </div> <div id="iconAccordionThree" class="collapse show" aria-labelledby="..." data-parent="#iconsAccordion"> <div class="card-body"> .................. .................. </div> </div> </div> </div>
No Icons
Remove div.icons
completely and also (if required) remove div.accordion-icon
.
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.
<div id="toggleAccordion"><div class="card"><div class="card-header" id="..."><section class="mb-0 mt-0"><div role="menu" class="collapsed" data-toggle="collapse" data-target="#defaultAccordionOne" aria-expanded="true" aria-controls="defaultAccordionOne">Collapsible Group Item #1 </div></section></div><div id="defaultAccordionOne" class="collapse" aria-labelledby="..." data-parent="#toggleAccordion"><div class="card-body">....................... ....................... </div></div></div><div class="card"><div class="card-header" id="..."><section class="mb-0 mt-0"><div role="menu" class="" data-toggle="collapse" data-target="#defaultAccordionTwo" aria-expanded="false" aria-controls="defaultAccordionTwo">Collapsible Group Item #2 </div></section></div><div id="defaultAccordionTwo" class="collapse show" aria-labelledby="..." data-parent="#toggleAccordion"><div class="card-body">....................... ....................... </div></div></div><div class="card"><div class="card-header" id="..."><section class="mb-0 mt-0"><div role="menu" class="collapsed" data-toggle="collapse" data-target="#defaultAccordionThree" aria-expanded="false" aria-controls="defaultAccordionThree">Collapsible Group Item #3 </div></section></div><div id="defaultAccordionThree" class="collapse" aria-labelledby="..." data-parent="#toggleAccordion"><div class="card-body">....................... ....................... </div></div></div></div>