Card
The card component allows you to build a content your text, from several elements such as an image, a title and content. The card is generally used with the responsive grid to adapt to the devices.
Take a look at the grid page to get all the necessary information.
Basic usage
Yosemite national park
Lorem ipsum dolor sit amet consectetur adipisicing elit. Dolorum itaque maxime soluta hic? Iure reiciendis facere qui beatae quasi repellendus, nemo incidunt quod! Quae sed odit illo. Amet, rerum et!
Fill
It is possible to add a background with the class .ms-fill
.
Yosemite national park
Lorem ipsum dolor sit amet consectetur adipisicing elit. Dolorum itaque maxime soluta hic? Iure reiciendis facere qui beatae quasi repellendus, nemo incidunt quod! Quae sed odit illo. Amet, rerum et!
Border
It is also possible to add a border with the .ms-border
class.
Yosemite national park
Lorem ipsum dolor sit amet consectetur adipisicing elit. Dolorum itaque maxime soluta hic? Iure reiciendis facere qui beatae quasi repellendus, nemo incidunt quod! Quae sed odit illo. Amet, rerum et!
Picture
The card can contain an image, using the .ms-card-pic
class.
You can add content stucked on the image with the .ms-card-pic-stick
classe, such as an icon or text.
Horizontally
The card can also be displayed horizontally with the .ms-inline
class.
Section
In order to delimit spaces within the card, it is possible to add one or more sections with .ms-section
and .ms-section-bloc
classes.