Skip to content

Collapse

Collapse shows and hides content with a short animation. Point a button or link at the target with data-bs-toggle="collapse", keep aria-expanded and aria-controls in sync, and use it for read-more text, filter panels, sub-menus and expandable rows.

1Button toggle

A button with data-bs-toggle="collapse" shows and hides the target.

Friendly people answer your questions quickly, by phone, chat or email. Guided learning paths take you from beginner to job-ready step by step.

2Link toggle

A link with href="#id" and role="button" works the same way.

We keep things simple, so you can focus on what matters to you.

3Horizontal collapse

collapse-horizontal animates the width; the content needs a fixed width.

Our team has done this many times, so you never have to guess.

4Multiple targets

One button can toggle several elements by targeting a shared class.

We measure success by how many students come back and tell their friends.
Try the first lesson of any course for free before you decide.

5Read more

Show the first part of a text and reveal the rest on demand.

Clear prices, honest advice and no surprises along the way. Short quizzes after each lesson help new knowledge stick.

Thousands of students already trust us, and we work hard to keep it that way. Lifetime access means you can revisit lessons whenever you need a refresher. Earn a certificate at the end of each course and share it with employers.

6Filter panel

A filter button above a table reveals extra search fields.

7Sidebar sub-menus

Nested navigation where each section expands to show its links.

8Expandable table rows

A detail row under each table row opens with a small toggle.

InvoiceAmountDetails
#TX-8790$254.62
Billed to Diego Morgan, Dublin. Due Dec 28, 2026.
#ORD-5732$784.26
Billed to Mateo Moreau, Valencia. Due Feb 8, 2027.

9Advanced form options

Hide rarely used settings behind an "Advanced" toggle.

10Minimisable card

A header button collapses the card body, as in dashboard widgets.

Traffic
26.8k
4% this week

11Open by default

Add .show to start expanded; the button's aria-expanded is then true.

Career coaches help with your CV, portfolio and interview practice. Learn on your schedule, with lessons that fit into a lunch break.

12Rotating chevron

A chevron that turns when the panel opens, driven by aria-expanded in CSS.

Every course is built around hands-on projects you can add to your portfolio.

13Comments thread

Keep a feed short and let readers open the replies.

Clear prices, honest advice and no surprises along the way.

Tariq Tanaka
Tariq Tanaka We keep things simple, so you can focus on what matters to you.
Kenji Ibrahim
Kenji Ibrahim Start in minutes and get help from a real person whenever you need it.

14Release notes

A compact version line that expands into the full change list.

Version 4.3 Stable
Oct 3, 2026
  • Mobile learning
  • Mobile learning
  • Faster loading on slow connections

15Specification list

A definition list of technical details hidden behind a full-width toggle.

Weight
8.5 kg
Dimensions
29 x 37 x 11 cm
Warranty
3 years

16Expandable search bar

A search icon in a header opens a full-width search field below it.

Nimbus Labs

17Onboarding checklist

Each checklist step expands to explain what to do.

We measure success by how many students come back and tell their friends.

Mentors review your projects and give feedback within two days.

Study groups and a friendly forum keep you motivated along the way.

18Swap two panels

Two collapses sharing a class swap places: one hides while the other shows.

Read-only view: Thousands of students already trust us, and we work hard to keep it that way.

19Grouped notifications

Older notifications collapse into a single "show earlier" row.

  • Try the first lesson of any course for free before you decide.
    • Our team has done this many times, so you never have to guess.
    • Short quizzes after each lesson help new knowledge stick.

20Nested collapse

A collapse inside another for drilling into details step by step.

Every detail is handled by people who care about getting it right.

  • Design: $1,800.23
  • Development: $8,788.20
  • Marketing: $6,434.44