Getting Started
Layout
Components
Design
Accordion
A set of horizontally interactive elements that display and hide collapsible content. Noting that the accordion function will add IDs dynamically.
Lorem, ipsum dolor sit amet consectetur adipisicing elit. Incidunt, vel autem corrupti voluptate officia aliquid assumenda adipisci dolores officiis alias eligendi itaque molestias veniam quia dolorem voluptatum. Enim repellendus omnis totam debitis corrupti repellat error voluptatum laborum iste ipsam quos hic amet doloremque eos quisquam, at sint, necessitatibus, a fugiat!
Lorem, ipsum dolor sit amet consectetur adipisicing elit. Incidunt, vel autem corrupti voluptate officia aliquid assumenda adipisci dolores officiis alias eligendi itaque molestias veniam quia dolorem voluptatum. Enim repellendus omnis totam debitis corrupti repellat error voluptatum laborum iste ipsam quos hic amet doloremque eos quisquam, at sint, necessitatibus, a fugiat!
<div id="nullAccordionOne">
<!------------------------------------------------------------------------------------------------------------------------------------------------------>
<div class="null-accordion-container null-box-shadow null-border-radius null-margin-bottom-20">
<div class="null-accordion null-padding-20 null-cursor-pointer null-font-weight-bold null-font-size-16 null-display-flex null-align-items-center null-justify-content-space-between">
<div class="null-accordion-title">Title</div>
<span class="null-accordion-icon">+</span>
</div><!--End null-accordion-->
<div class="null-accordion-content-container null-position-relative">
<p class="null-color-grey">Description</p>
</div><!--End null-accordion-content-container-->
</div><!--End null-accordion-container-->
<!------------------------------------------------------------------------------------------------------------------------------------------------------>
<!------------------------------------------------------------------------------------------------------------------------------------------------------>
<div class="null-accordion-container null-box-shadow null-border-radius null-margin-bottom-20">
<div class="null-accordion null-padding-20 null-cursor-pointer null-font-weight-bold null-font-size-16 null-display-flex null-align-items-center null-justify-content-space-between">
<div class="null-accordion-title">Title</div>
<span class="null-accordion-icon">+</span>
</div><!--End null-accordion-->
<div class="null-accordion-content-container null-position-relative">
<p class="null-color-grey">Description</p>
</div><!--End null-accordion-content-container-->
</div><!--End null-accordion-container-->
<!------------------------------------------------------------------------------------------------------------------------------------------------------>
</div><!--End nullAccordionOne-->
Then you need to call the accordion function:
null_accordion("#nullAccordionOne");
Want to show first element by default? then set true to the second argument in the accordion function:
Lorem, ipsum dolor sit amet consectetur adipisicing elit. Incidunt, vel autem corrupti voluptate officia aliquid assumenda adipisci dolores officiis alias eligendi itaque molestias veniam quia dolorem voluptatum. Enim repellendus omnis totam debitis corrupti repellat error voluptatum laborum iste ipsam quos hic amet doloremque eos quisquam, at sint, necessitatibus, a fugiat!
Lorem, ipsum dolor sit amet consectetur adipisicing elit. Incidunt, vel autem corrupti voluptate officia aliquid assumenda adipisci dolores officiis alias eligendi itaque molestias veniam quia dolorem voluptatum. Enim repellendus omnis totam debitis corrupti repellat error voluptatum laborum iste ipsam quos hic amet doloremque eos quisquam, at sint, necessitatibus, a fugiat!
<div id="nullAccordionTwo">
<!------------------------------------------------------------------------------------------------------------------------------------------------------>
<div class="null-accordion-container null-box-shadow null-border-radius null-margin-bottom-20">
<div class="null-accordion null-padding-20 null-cursor-pointer null-font-weight-bold null-font-size-16 null-display-flex null-align-items-center null-justify-content-space-between">
<div class="null-accordion-title">Title</div>
<span class="null-accordion-icon">+</span>
</div><!--End null-accordion-->
<div class="null-accordion-content-container null-position-relative">
<p class="null-color-grey">Description</p>
</div><!--End null-accordion-content-container-->
</div><!--End null-accordion-container-->
<!------------------------------------------------------------------------------------------------------------------------------------------------------>
<!------------------------------------------------------------------------------------------------------------------------------------------------------>
<div class="null-accordion-container null-box-shadow null-border-radius null-margin-bottom-20">
<div class="null-accordion null-padding-20 null-cursor-pointer null-font-weight-bold null-font-size-16 null-display-flex null-align-items-center null-justify-content-space-between">
<div class="null-accordion-title">Title</div>
<span class="null-accordion-icon">+</span>
</div><!--End null-accordion-->
<div class="null-accordion-content-container null-position-relative">
<p class="null-color-grey">Description</p>
</div><!--End null-accordion-content-container-->
</div><!--End null-accordion-container-->
<!------------------------------------------------------------------------------------------------------------------------------------------------------>
</div><!--End nullAccordionTwo-->
null_accordion("#nullAccordionTwo" , true);