List
Ordered items
Types
List
A list groups related content
Bulleted
A list can mark items with a bullet
For convenience, a simple bulleted list can also use
ul
tag.
- Gaining Access
- Inviting Friends
- Benefits
- Use Anywhere
- Rebates
- Discounts
- Warranty
Ordered
A list can be ordered numerically
An ordered list can also use the
ol
tag
- Signing Up
- User Benefits
- User Types
- Admin
- Power User
- Regular User
- Deleting Your Account
You can also manually specify a value for an ordered list using
data-value
on adiv
, orvalue
on anli
- Signing Up
- User Benefits
- User Types
- Admin
- Power User
- Regular User
- Deleting Your Account
Link
A list can be specially formatted for navigation links
Content
Item
A list item can contain a set of items
Icon
A list item can contain an icons
Image
A list item can contain an image
Due to issues with intrinsic aspect ratio in flexbox
img
should use a container element.
Link
A list can contain links
Header
A list item can contain a header
Description
A list item can contain a description
Variations
Horizontal
A list can be formatted to have items appear horizontally
Inverted
A list can be inverted to appear on a dark background
Selection
A selection list formats list items as possible choices
Animated
A list can animate to set the current item apart from the list
Be sure content can fit on one line when using the animated variation, otherwise text content will reflow when hovered.
Relaxed
A list can relax its padding to provide more negative space
Divided
A list can show divisions between content
Celled
A list can divide its items into cells
Size
A list can vary in size
Content Variations
Vertically Aligned
An element inside a list can be vertically aligned
Floated
An list, or an element inside a list can be floated left or right