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.
.accordion-flush
class. This is the second item's accordion body. Let's imagine this being filled with some actual content..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.