Collapsible sections or "Collapsibles"
We insert buttons via JavaScript for opening and closing collapsible sections. We use the data attribute data-component="collapsibles"
as a hook for our JavaScript, as this keeps things nicely separated from classes, which could more easily be overwritten.
Buttons shouldn't use the pointer cursor, so we need to ensure the buttons have sufficient affordance by other means, such as background colour, border and/or box-shadow styles.
Baby Spice
RPG stats
- Strength: 10
- Dexterity: 14
- Looks: 16
- Macho: 10
- Health: 8
Ginger Spice
RPG stats
- Strength: 10
- Dexterity: 9
- Looks: 16
- Macho: 14
- Health: 10
Posh Spice
RPG stats
- Strength: 10
- Dexterity: 14
- Looks: 14
- Macho: 12
- Health: 10
Scary Spice
RPG stats
- Strength: 10
- Dexterity: 12
- Looks: 12
- Macho: 16
- Health: 10
Sporty Spice
RPG stats
- Strength: 13
- Dexterity: 14
- Looks: 10
- Macho: 10
- Health: 12