Card Layout
A layout class for displaying card components in different arrangements.
All cards stack vertically on small screens but can adapt to different grid formations on wider screens.
Notes
This layout template only sets up the basic grid for each type of layout.
Tips
- Use the following CSS classes to indicate the layout type.
mzp-l-card-heromzp-l-card-halfmzp-l-card-thirdmzp-l-card-quarter
- These CSS classes can be applied to any suitable parent element e.g.
<main>,<section>,<div>. - The grid layout is reversed in right to left (RTL) languages.
- If using the
mzp-l-card-heroparent class, make sure to indicate which child card element is to be the large hero card by giving it amzp-c-card-largeclass.