Back to component index

Accordion - City of Portsmouth College

Component Notes

Accordion. Powered by Bootstrap accordion.

To set an item to open on page load, add show to the accordion-collapse class list and change the button class to NOT include collapsed and set aria-expanded="true"

To change to sixth form (cyan) branded accordion, add the class accordion--sixth-form to .accordion element.

To join the course you will need:

  • 4 GCSEs at 9-2 (A*-E) including maths and English
  • Or an Entry Level qualification in functional skills (at least at Entry Level 3)
  • Interest, skill, and enthusiasm for the subject you wish to study.

Placeholder content for this accordion, which is intended to demonstrate the .accordion-flush class. 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-flush 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.