A Simple Vertical Accordion Menu Using jQuery

Accordion_menu is a simple jquery markup menu that helps you create a vertical accordion menu with smooth expanding and folding animations.

Must Read: Responsive Pure CSS Only Accordion & Tabs Component

jQuery Vertical Accordion Menu Plugin

Post NameVertical Accordion Menu
Author Namechibiharu
CategoryAccordion, SCSS
Official PageClick Here
Official Websitegithub.com
Publish DateJune 4, 2021
Last UpdateJuly 24, 2023
DownloadLink Below

How to make use of it:

1. Add titles and content to the accordion interface.

<div id="accordion" class="accordion-container">
  <h4 class="accordion-title">Accordion Title1</h4>
  <div class="accordion-content">
    <p>Accordion Content1</p>
  <h4 class="accordion-title">Accordion Title2</h4>
  <div class="accordion-content">
    <p>Accordion Content2</p>
  <h4 class="accordion-title">Accordion Title3</h4>
  <div class="accordion-content">
    <p>Accordion Content3</p>

2. This accordion menu requires the newest jQuery library.

<script src="/path/to/cdn/jquery.min.js"></script>

3. Hide the accordion panels on the web page load.

$(".accordion-content").css("display", "none");

4. Enable the accordion titles to toggle their corresponding accordion panels on click on them.

$(".accordion-title").click(function () {

5. The essential CSS styles for the accordion menu.

.accordion-container .accordion-title {
  position: relative;
  margin: 0;
  padding: 0.625em 0.625em 0.625em 2em;
  background-color: #000;
  font-size: 1.25em;
  font-weight: normal;
  color: #fff;
  cursor: pointer;

.accordion-container .accordion-title:hover,
.accordion-container .accordion-title:active,
.accordion-title.open { 
  background-color: #00aaa7;

.accordion-container .accordion-title::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 25px;
  width: 15px;
  height: 2px;
  transform: rotate(90deg);
  background: #fff;
  transition: all .3s ease-in-out;

.accordion-container .accordion-title::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 25px;
  width: 15px;
  height: 2px;
  background: #fff;
  transition: all .2s ease-in-out;

.accordion-container .accordion-title.open::before {
  transform: rotate(180deg);

.accordion-container .accordion-title.open::after {
  opacity: 0;

.accordion-content {
  padding-left: 2.3125em;
  border: 1px solid #0079c1;

See Demo And Download


Official Website(chibiharu): Click Here

This superior jQuery/javascript plugin is developed by chibiharu. For extra Advanced usage, please go to the official website.

Related Posts


Responsive Image Gallery Lightbox jQuery Plugin | VenoBox

VenoBox is a responsive jQuery modal window plugin suitable for images, embedded content, iFrames, Google Maps, Vimeo, and YouTube videos. The big difference compared to many other…


[Animation] Bootstrap Multi-Level Responsive Dropdown Menu

Bootstrap-based multi-level dropdown navigation menu with cool animations. The dropdown on Hover is a jQuery plugin used to create Bootstrap multi-level scroll-triggered dropdown menus with CSS3 animations…


Google Translate Dropdown Customize With Country Flag | GT API

Flag google translates jQuery text that takes advantage of the Google Cloud Translation API to translate web content between languages by selecting a country from the dropdown…


HTML 5 File Input Optimized for Bootstrap 4.x./3.x with File Preview | Bootstrap Fileinput

bootstrap-fileinput is an improved HTML 5 file input  Bootstrap 5.x, 4.x and 3.x with file preview for different files, provides multiple selections, resumable section uploads, and more….


CSS Layout Components Horizontal/Vertical Stack | HStack and VStack

HStack and VStack in CSS – CSS layout components that (basically) stack anything horizontally and vertically. A pure CSS library that makes it easy to stack elements…


How to Add Floating Whatsapp Chat Button In HTML | venom-button

Venom Button is a very simple plugin for the jQuery floating WhatsApp button. Adds a floating button to your site that calls WhatsApp Click to Chat API. It will automatically start the WhatsApp…

Leave a Reply

Your email address will not be published. Required fields are marked *