Loading...

###### Don't Miss Out! Our new update has been released.

###### Something you love is now on sale!

Buy now !

### Accordions

##### Simple Accordion

Drop the `collapsed` class from the `accordion-button` element and set its aria-expanded attribute to true.

##

This is the first item's accordion body. It is shown by default, until the collapse plugin adds the appropriate classes that we use to style each element. These classes control the overall appearance, as well as the showing and hiding via CSS transitions. You can modify any of this with custom CSS or overriding our default variables. It's also worth noting that just about any HTML can go within the .accordion-body , though the transition does limit overflow.

##

This is the second item's accordion body. It is hidden by default, until the collapse plugin adds the appropriate classes that we use to style each element. These classes control the overall appearance, as well as the showing and hiding via CSS transitions. You can modify any of this with custom CSS or overriding our default variables. It's also worth noting that just about any HTML can go within the .accordion-body , though the transition does limit overflow.

##

This is the third item's accordion body. It is hidden by default, until the collapse plugin adds the appropriate classes that we use to style each element. These classes control the overall appearance, as well as the showing and hiding via CSS transitions. You can modify any of this with custom CSS or overriding our default variables. It's also worth noting that just about any HTML can go within the .accordion-body , though the transition does limit overflow.

    <div class="accordion dark-accordion" id="simpleaccordion">
     <div class="accordion-item">
       <h2 class="accordion-header" id="headingOne">
         <button class="accordion-button collapsed accordion-light-primary txt-primary active" type="button" data-bs-toggle="collapse" data-bs-target="#collapseOne" aria-expanded="true" aria-controls="collapseOne">Accordion Item #1<i class="svg-color" data-feather="chevron-down"></i></button>
       </h2>
       <div class="accordion-collapse collapse show" id="collapseOne">
         <div class="accordion-body">This is the
           <b>first item's</b>accordion body. It is shown by default, until the collapse plugin adds the appropriate classes that we use to style each element. These classes control the overall appearance, as well as the showing and hiding via CSS transitions. You can modify any of this with custom CSS or overriding our default variables. It's also worth noting that just about any HTML can go within the
           <b>.accordion-body</b>, though the transition does limit overflow.
         </div>
       </div>
     </div>
     <div class="accordion-item">
       <h2 class="accordion-header" id="headingTwo">
         <button class="accordion-button collapsed accordion-light-primary txt-primary active" type="button" data-bs-toggle="collapse" data-bs-target="#collapseTwo" aria-expanded="false" aria-controls="collapseTwo">Accordion Item #2
           <i class="svg-color" data-feather="chevron-down"></i>
         </button>
       </h2>
       <div class="accordion-collapse collapse" id="collapseTwo">
         <div class="accordion-body">This is the
           <b>second item's</b>accordion body. It is hidden by default, until the collapse plugin adds the appropriate classes that we use to style each element. These classes control the overall appearance, as well as the showing and hiding via CSS transitions. You can modify any of this with custom CSS or overriding our default variables. It's also worth noting that just about any HTML can go within the
           <b>.accordion-body</b>, though the transition does limit overflow.
         </div>
       </div>
     </div>
     <div class="accordion-item">
       <h2 class="accordion-header" id="headingThree">
         <button class="accordion-button collapsed accordion-light-primary txt-primary active" type="button" data-bs-toggle="collapse" data-bs-target="#collapseThree" aria-expanded="false" aria-controls="collapseThree">Accordion Item #3
           <i class="svg-color" data-feather="chevron-down"></i>
         </button>
       </h2>
       <div class="accordion-collapse collapse" id="collapseThree">
         <div class="accordion-body">
           <p>This is the
             <b>third item's</b>accordion body. It is hidden by default, until the collapse plugin adds the appropriate classes that we use to style each element. These classes control the overall appearance, as well as the showing and hiding via CSS transitions. You can modify any of this with custom CSS or overriding our default variables. It's also worth noting that just about any HTML can go within the
             <b>.accordion-body</b>,though the transition does limit overflow.
           </p>
         </div>
       </div>
     </div>
    </div>

##### Flush Accordion

Add `accordion-flush` to remove the default`background-color` , some borders, and some rounded corners to render accordions edge-to-edge with their parent container.

##

Placeholder content for this accordion, which is intended to demonstrate the .accordion-flushclass. This is the first item's accordion body.

##

Placeholder content for this accordion, which is intended to demonstrate the .accordion-flushclass. This is the second item's accordion body. Let's imagine this being filled with some actual content.

##

Placeholder content for this accordion, which is intended to demonstrate the .accordion-flushclass. This is the third item's accordion body. Nothing more exciting happening here in terms of content, but just filling up the space to make it look, at least at first glance, a bit more representative of how this would look in a real-world application.

    <div class="accordion accordion-flush dark-accordion" id="accordionFlushExample">
     <div class="accordion-item">
       <h2 class="accordion-header" id="flush-headingOne">
         <button class="accordion-button collapsed txt-secondary accordion-light-secondary active" type="button" data-bs-toggle="collapse" data-bs-target="#flush-collapseOne" aria-expanded="false" aria-controls="flush-collapseOne">Accordion Item #1
            <i class="svg-color" data-feather="chevron-down"></i>
         </button>
       </h2>
       <div class="accordion-collapse collapse show" id="flush-collapseOne">
         <div class="accordion-body">
           <p>Placeholder content for this accordion, which is intended to demonstrate the
             <b>.accordion-flush</b>class. This is the first item's accordion body.
           </p>
         </div>
       </div>
     </div>
     <div class="accordion-item">
       <h2 class="accordion-header" id="flush-headingTwo">
         <button class="accordion-button collapsed txt-secondary accordion-light-secondary" type="button" data-bs-toggle="collapse" data-bs-target="#flush-collapseTwo" aria-expanded="false" aria-controls="flush-collapseTwo">Accordion Item #2
            <i class="svg-color" data-feather="chevron-down"></i>
         </button>
       </h2>
       <div class="accordion-collapse collapse" id="flush-collapseTwo">
         <div class="accordion-body">
           <p>Placeholder content for this accordion, which is intended to demonstrate the
             <b>.accordion-flush</b>class. This is the second item's accordion body. Let's imagine this being filled with some actual content.
           </p>
         </div>
       </div>
     </div>
     <div class="accordion-item">
       <h2 class="accordion-header" id="flush-headingThree">
         <button class="accordion-button collapsed txt-secondary accordion-light-secondary" type="button" data-bs-toggle="collapse" data-bs-target="#flush-collapseThree" aria-expanded="false" aria-controls="flush-collapseThree">Accordion Item #3
            <i class="svg-color" data-feather="chevron-down"></i>
         </button>
       </h2>
       <div class="accordion-collapse collapse" id="flush-collapseThree">
         <div class="accordion-body">
           <p>Placeholder content for this accordion, which is intended to demonstrate the
             <b>.accordion-flush</b>class. This is the third item's accordion body. Nothing more exciting happening here in terms of content, but just filling up the space to make it look, at least at first glance, a bit more representative of how this would look in a real-world application.
           </p>
         </div>
       </div>
     </div>
    </div>

##### Multiple Collapse Accordion

A `<button>` or`<a>` can show and hide multiple elements by referencing them with a selector in its href or data-bs-target attribute.

Toggle First Element
The collapse JavaScript plugin is used to show and hide content. Buttons or anchors are used as triggers that are mapped to specific elements you toggle. Collapsing an element will animate the height from it's current value to 0. Given how CSS handles animations, you cannot use padding on a .collapse element. Instead, use the class as an independent wrapping element.
This is the first item's accordion body. It is shown by default, until the collapse plugin adds the appropriate classes that we use to style each element. These classes control the overall appearance, as well as the showing and hiding via CSS transitions. You can modify any of this with custom CSS or overriding our default variables.

    <div class="common-flex">
     <a class="btn btn-primary" data-bs-toggle="collapse" href="#multiCollapseExample1" role="button" aria-expanded="false" aria-controls="multiCollapseExample1">Toggle First Element</a>
     <button class="btn btn-secondary" type="button" data-bs-toggle="collapse" data-bs-target="#multiCollapseExample2" aria-expanded="false" aria-controls="multiCollapseExample2">Toggle Second Element</button>
     <button class="btn btn-primary" type="button" data-bs-toggle="collapse" data-bs-target=".multi-collapse" aria-expanded="false" aria-controls="multiCollapseExample1 multiCollapseExample2">Toggle Both Elements</button>
    </div>
    <div class="row">
     <div class="col-xl-6">
       <div class="collapse multi-collapse dark-accordion" id="multiCollapseExample1">
         <div class="card card-body mt-3 mb-0 collapse-wrapper accordion-light-primary">The collapse JavaScript plugin is used to show and hide content. Buttons or anchors are used as triggers that are mapped to specific elements you toggle. Collapsing an element will animate the height from it's current value to 0. Given how CSS handles animations, you cannot use padding on a .collapse element. Instead, use the class as an independent wrapping element.</div>
       </div>
     </div>
     <div class="col-xl-6">
       <div class="collapse multi-collapse dark-accordion" id="multiCollapseExample2">
         <div class="card card-body mt-3 mb-0 collapse-wrapper accordion-light-secondary">This is the first item's accordion body. It is shown by default, until the collapse plugin adds the appropriate classes that we use to style each element. These classes control the overall appearance, as well as the showing and hiding via CSS transitions. You can modify any of this with custom CSS or overriding our default variables.</div>
       </div>
     </div>
    </div>

##### With Icons Accordion

Use `accordion` & `feather icons` through change look icons accordion.

##

" This page might not behave as expected because Windows Internet Explorer isn't configured to load unsigned ActiveX controls." or "Allow this page to install an unsigned ActiveX Control? Doing so from untrusted sources may harm your computer." (Both phrased as conditions that may cause future problems.)

##

- You get the same features in Chat and Chat in Gmail, but the integrated Gmail experience provides a central location to communicate with friends, family, or coworkers between emails.
- Chat: Use when you prefer a dedicated chat experience and don't mind switching between different apps.

##

- 1) Decide on the indentation and keep it that way.
- 2) Make comments.
- 3) Consistent name scheme.
- 4) Don't repeat code.
- 5) Avoid writing long code lines.
- 6) Break down a big task into smaller chunks.
- 7) Organize your program into smaller files.
- 8) Write clever code that is also readable.

    <div class="accordion dark-accordion" id="accordionPanelsStayOpenExample">
     <div class="accordion-item">
       <h2 class="accordion-header" id="panelsStayOpen-headingOne">
         <button class="accordion-button collapsed gap-2 accordion-light-secondary active txt-secondary" type="button" data-bs-toggle="collapse" data-bs-target="#panelsStayOpen-collapseOne" aria-expanded="false" aria-controls="panelsStayOpen-collapseOne">
           <i class="svg-wrapper" data-feather="bell"></i>Keep in touch
           <i class="svg-color" data-feather="chevron-down"></i>
         </button>
       </h2>
       <div class="accordion-collapse collapse" id="panelsStayOpen-collapseOne" aria-labelledby="panelsStayOpen-headingOne">
         <div class="accordion-body">
           <p><b>" This page might not behave as expected because Windows Internet Explorer isn't configured to load unsigned ActiveX controls."</b> or "Allow this page to install an unsigned ActiveX Control? Doing so from untrusted sources may harm your computer." (Both phrased as conditions that may cause future problems.)
           </p>
         </div>
       </div>
     </div>
     <div class="accordion-item">
       <h2 class="accordion-header" id="panelsStayOpen-headingTwo">
         <button class="accordion-button collapsed gap-2 accordion-light-secondary active txt-secondary" type="button" data-bs-toggle="collapse" data-bs-target="#panelsStayOpen-collapseTwo" aria-expanded="false" aria-controls="panelsStayOpen-collapseTwo"><i class="svg-wrapper" data-feather="message-circle"></i>Chats with others<i class="svg-color" data-feather="chevron-down"></i></button>
       </h2>
       <div class="accordion-collapse collapse" id="panelsStayOpen-collapseTwo" aria-labelledby="panelsStayOpen-headingTwo">
         <div class="accordion-body">
           <ul class="d-flex flex-column gap-2 accordions-content">
             <li>You get the same features in Chat and Chat in Gmail, but the integrated Gmail experience provides a central location to communicate with friends, family, or coworkers between emails.</li>
             <li><strong>Chat:</strong>Use when you prefer a dedicated chat experience and don't mind switching between different apps.</li>
           </ul>
         </div>
       </div>
     </div>
     <div class="accordion-item">
       <h2 class="accordion-header" id="panelsStayOpen-headingThree">
         <button class="accordion-button collapsed gap-2 accordion-light-secondary active txt-secondary" type="button" data-bs-toggle="collapse" data-bs-target="#panelsStayOpen-collapseThree" aria-expanded="false" aria-controls="panelsStayOpen-collapseThree">
           <i class="svg-wrapper" data-feather="check-square"></i>Right way to code
           <i class="svg-color" data-feather="chevron-down"></i>
         </button>
       </h2>
       <div class="accordion-collapse collapse" id="panelsStayOpen-collapseThree" aria-labelledby="panelsStayOpen-headingThree">
         <div class="accordion-body">
           <ul class="d-flex flex-column gap-2 accordions-content">
             <li>1) Decide on the indentation and keep it that way.</li>
             <li>2) Make comments.</li>
             <li>3) Consistent name scheme.</li>
             <li>4) Don't repeat code.</li>
             <li>5) Avoid writing long code lines.</li>
             <li>6) Break down a big task into smaller chunks.</li>
             <li>7) Organize your program into smaller files.</li>
             <li>8) Write clever code that is also readable.</li>
           </ul>
         </div>
       </div>
     </div>
    </div>

##### Outline Accordion

Made custom `accordion-wrapper` class use to bring border-left side.

##

Web design identifies the goals of a website or webpage and promotes accessibility for all potential users. This process involves organizing content and images across a series of pages and integrating applications and other interactive elements.

##

- Search engine optimization: Search engine optimization (SEO) is a method for improving the chances for a website to be found by search engines. Web design codes information in a way that search engines can read it. It can boost business because the site shows up on the top search result pages, helping people to find it.
- Mobile responsiveness: Mobile responsiveness is the feature of a website that allows it to display on a mobile device and adapt its layout and proportions to be legible. Web design ensures sites are easy to view and navigate from mobile devices. When a website is well-designed and mobile-responsive, customers can reach the business with ease.
- Improved sales:Increasing the number of items sold or acquiring more active customers are objectives of a compelling website. As web design reaches targeted customers and search engines, it helps the business make conversions on their site and improve its sales.

##

- The web design process allows designers to adjust to any preferences and provide effective solutions. There are many standard components of every web design, including:
- --> Layout
- --> Images
- --> Visual hierarchy
- --> Color scheme
- --> Typography
- --> Navigation
- --> Readability
- --> Content

    <div class="accordion dark-accordion" id="outlineaccordion">
     <div class="accordion-item accordion-wrapper">
       <h2 class="accordion-header" id="outlineaccordionone">
         <button class="accordion-button collapsed accordion-light-primary txt-primary" type="button" data-bs-toggle="collapse" data-bs-target="#left-collapseOne" aria-expanded="true" aria-controls="left-collapseOne">What do web designers do?
           <i class="svg-color" data-feather="chevron-down"></i>
         </button>
       </h2>
       <div class="accordion-collapse collapse" id="left-collapseOne" aria-labelledby="outlineaccordionone" data-bs-parent="#outlineaccordion">
         <div class="accordion-body">
           <p>Web design<b> identifies the goals</b>of a website or webpage and promotes accessibility for all potential users. This process involves organizing content and images across a series of pages and integrating applications and other interactive elements.</p>
         </div>
       </div>
     </div>
     <div class="accordion-item accordion-wrapper">
       <h2 class="accordion-header" id="outlineaccordiontwo">
         <button class="accordion-button collapsed accordion-light-primary txt-primary" type="button" data-bs-toggle="collapse" data-bs-target="#left-collapseTwo" aria-expanded="false" aria-controls="left-collapseTwo">What is the use of web design?
           <i class="svg-color" data-feather="chevron-down"></i>
         </button>
       </h2>
       <div class="accordion-collapse collapse" id="left-collapseTwo" aria-labelledby="outlineaccordiontwo" data-bs-parent="#outlineaccordion">
         <div class="accordion-body">
           <ul class="d-flex flex-column gap-2 accordions-content">
             <li>
               <strong> Search engine optimization:</strong>Search engine optimization (SEO) is a method for improving the chances for a website to be found by search engines. Web design codes information in a way that search engines can read it. It can boost business because the site shows up on the top search result pages, helping people to find it.
             </li>
             <li>
               <strong> Mobile responsiveness:</strong>Mobile responsiveness is the feature of a website that allows it to display on a mobile device and adapt its layout and proportions to be legible. Web design ensures sites are easy to view and navigate from mobile devices. When a website is well-designed and mobile-responsive, customers can reach the business with ease.
             </li>
             <li>
               <strong> Improved sales:</strong>Increasing the number of items sold or acquiring more active customers are objectives of a compelling website. As web design reaches targeted customers and search engines, it helps the business make conversions on their site and improve its sales.
             </li>
           </ul>
         </div>
       </div>
     </div>
     <div class="accordion-item accordion-wrapper">
       <h2 class="accordion-header" id="outlineaccordionthree">
         <button class="accordion-button collapsed accordion-light-primary txt-primary" type="button" data-bs-toggle="collapse" data-bs-target="#left-collapseThree" aria-expanded="false" aria-controls="left-collapseThree">What are the elements of web design?
           <i class="svg-color" data-feather="chevron-down"></i>
         </button>
       </h2>
       <div class="accordion-collapse collapse" id="left-collapseThree" aria-labelledby="outlineaccordionthree" data-bs-parent="#outlineaccordion">
         <div class="accordion-body">
           <ul class="d-flex flex-column gap-2 accordions-content">
             <li> The web design process allows designers to adjust to any preferences and provide effective solutions. There are many standard components of every web design, including:</li>
             <li>--> Layout</li>
             <li>--> Images</li>
             <li>--> Visual hierarchy</li>
             <li>--> Color scheme</li>
             <li>--> Typography</li>
             <li>--> Navigation</li>
             <li>--> Readability</li>
             <li>--> Content</li>
           </ul>
         </div>
       </div>
     </div>
    </div>

##### Horizontal Accordion

Add the `collapse-horizontal` modifier class to transition the width instead of height and set a width on the immediate child element.

This is some placeholder content for a horizontal collapse. It's hidden by default and shown when triggered.

    <div class="common-flex">
     <button class="btn btn-secondary" type="button" data-bs-toggle="collapse" data-bs-target="#collapseWidthExample" aria-expanded="false" aria-controls="collapseWidthExample">Toggle Width Collapse</button>
    </div>
    <div class="row">
     <div class="col-xxl-8 col-xl-12">
       <div class="collapse collapse-horizontal mt-3" id="collapseWidthExample">
         <div class="card card-body accordion-h-space mb-0">This is some placeholder content for a horizontal collapse. It's hidden by default and shown when triggered.</div>
       </div>
     </div>
    </div>

##### Collapse Accordion

you can also use a link with the href attribute`(and a role="button").`In both cases, the `data-bs-toggle="collapse"` is required.

Link With Href

Some placeholder content for the collapse component. This panel is hidden by default but revealed when the user activates the relevant trigger.

    <p class="common-flex">
     <a class="btn btn-dark" data-bs-toggle="collapse" href="#collapseExample" role="button" aria-expanded="false" aria-controls="collapseExample">Link With Href</a>
     <button class="btn btn-dark" type="button" data-bs-toggle="collapse" data-bs-target="#collapseExample" aria-expanded="false" aria-controls="collapseExample">Button With Data-bs-target</button>
    </p>
    <div class="collapse btn-dark" id="collapseExample">
     <div class="card card-body mb-0 dark-accordion">Some placeholder content for the collapse component. This panel is hidden by default but revealed when the user activates the relevant trigger.</div>
    </div>