<div class="az-accordion" id="az-accordion-1">
<div class="az-accordion-card">
<header>
<h1>AZ Accordion 1</h1>
</header>
<article>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor.</p>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor.</p>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor.</p>
</article>
</div>
</div>
A CSS class is added to HEADER and ARTICLE when the AZAccordion is active.
<header class="az-accordion-header-active">
<article class="az-accordion-article-active">
AZAccordion has some basic CSS that you should not initially need to adjust.
accordion.css
You can find the CSS which you can change yourself in the file
CSS Team
/*---------------------
Accordion
accordion.css
---------------------*/
.az-accordion
{
display: block;
position: relative;
}
.az-accordion > .az-accordion-card
{
-webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
-moz-box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}
.az-accordion > .az-accordion-card > header
{
padding: 7px;
background-color: #0078D7;
color: #FFFFFF;
}
.az-accordion > .az-accordion-card > header:hover
{
background-color: #0bb2d4;
color: #FFFFFF;
}
.az-accordion > .az-accordion-card > header > *
{
font-size: 14px;
}
.az-accordion > .az-accordion-card > header > i
{
font-size: 12px;
margin-right: 2px;
margin-top: 4px;
}
.az-accordion > .az-accordion-card > article
{
padding: 7px;
background-color: #FFFFFF;
color: #000000;
}
.az-accordion > .az-accordion-card > article > *
{
font-size: 14px;
}
.az-accordion > .az-accordion-card > header.az-accordion-header-active
{
}
.az-accordion > .az-accordion-card > header.az-accordion-article-active
{
}