Card Sets Listing Grid
Responsive listing component that allows a user to set the number of columns that best render content and layout.
Component Properties
Section Properties
Text / Background Color Theme [COLOR_THEME]
Using the Sass color-contrast()
function, the text color is automatically determined based on the defined $color-contrast-dark
and $color-contrast-light
text color variables for the contrasting color for a particular background-color
. Available classes are:
Section Modifier [MODIFIER]
Optionally add an overall modifier class to the component.
Section Vertical Spacing [SPACING]
Optional: Adds top and bottom padding to section.
none
- No spacing applied to element
.sec-spacing
- Adds top and bottom spacing to section
.sec-spacing-sm
- Adds a small amount top and bottom spacing to section
.sec-spacing-lg
- Adds a large amount top and bottom spacing to section
Container Modifier [CONTAINER]
Use .container-fluid
for a full width container, spanning the entire width of the viewport
.container
- Standard width section contrainer. Container width snaps to width at breakpoints.
.container-xxl
- Standard width section contrainer. Container has fluid until it reaches it's maximum width
.container-fluid
- Full width section contrainer. Container runs from edge to egde of the viewport
Grid Properties
Row Justification [ROW_JUSTIFY]
Use justify-content
utilities on flexbox containers to change the alignment of flex items on the main x-axis.
.justify-content-start
- Pack columns from the left
.justify-content-end
- Pack columns from the right
.justify-content-center
- Pack columns around the center.
Column widths [ROW_COLS] [ROW_COLS_MD] [ROW_COLS_XL]
Set the width of the content column for desktop vieports.
.row-cols-[1-3]
[ROW_COLS]
Sets number of columns to show at the smallest screen size..row-cols-md-[1-6]
[ROW_COLS_MD]
Sets number of columns to show at the$md
breakpoint.row-cols-xl-[1-10]
[ROW_COLS_XL]
Sets number of columns to show at the$xl
breakpoint
Grid Spacing [GRID_GAP_X] [GRID_GAP_Y]
Gutters are the padding between your columns, used to responsively space and align content in the grid system.
.gx-[0-5]
[GRID_GAP_X]
Provides horizontal gap between columns. Default is 3..gy-[0-5]
[GRID_GAP_Y]
Provides vertical gap between columns. Default is 3.