Grab and learn
Code editor Setup VScode
Top Navigation Sticky Navbar Hamburger Collapse Columns 2D transforms 3D transforms Normal card Flip card Scrollbar Progressbar Skillbar Alert Jumbotron Forms Popover Tooltip Background overlay Breadcrumbs Toast Radio buttons Text input Range sliders Dropdown Pagination Modals Color picker Icons Tables
Curtain menu Mega menu Toggle sidebar Collapsed sidepanel Full screen navigation Hide navbar on scroll Shrink navbar on scroll Page animation Image magnifier
Hover animations Parallax Scroll animation Scroll down animated icon Auto typer Carousel Animated icons Particles Smooth scroll Text animations Cube animations
Online website
Domain name Hosting SEO structure Crawling Indexing Canonical links Sitemap Robots.txt Google Search Console Google Analytics
Beginners Bootstrap Responsive websites Sass CSS grid CSS flexbox
Vanilla JQuery Page animation Async Javascript AJAX Node.js React JS Express

Collapsible menu

The collapse feature is often used to keep a website organized and shorten pages.

Professional examples

The below stated examples are commonly applied in online website designs. The code is available for you and offers you the possibility to edit it to your own creation!

Pure CSS collapse menu

Effect: fancy

See the Pen Pure CSS collapse menu by João Rafael (@joaorafaelm) on CodePen.

Collapse menu

Effect: basic

See the Pen Collapsable menu by tony_secreto (@SECRETO) on CodePen.

Collapse menu with CSS

Effect: basic

See the Pen collapsable menu with css by Rohit Kashyap (@rohitpotato) on CodePen.

Bootstrap Accordion example with expand/collapse all

Effect: basic

See the Pen Bootstrap Accordion example with expand/collapse all by Andreas Eracleous (@Sp00ky) on CodePen.

CSS Expand/Collapse Section

Effect: basic

See the Pen CSS Expand/Collapse Section by Naut Hnil (@peternguyen) on CodePen.

BootStrap Accordion/Collapse with Toggle Icon

Effect: professional

See the Pen BootStrap Accordion/Collapse with Toggle Icon by Shahen Algoo (@bootpen) on CodePen.


Need to learn more about creating a collapsible menu? We recommend you to checkout the documentation on Bootstrap 4

Learn how to make a collapsible menu

The video's below are carefully selected and give you a clear explanation of how you can build this module yourself.

Awesome accordion menu using only HTML & CSS - DarkCode

Copyright © 2020