diff --git a/exampleSite/content/docs/guide/shortcodes/cards.md b/exampleSite/content/docs/guide/shortcodes/cards.md index fcf61e00..e369f7a4 100644 --- a/exampleSite/content/docs/guide/shortcodes/cards.md +++ b/exampleSite/content/docs/guide/shortcodes/cards.md @@ -87,3 +87,30 @@ Card supports adding tags which could be useful to show extra status information {{}} {{}} ``` + +## Columns + +You can specify the maximum number of columns for cards to span by passing the `cols` parameter to the `cards` shortcode. Note that columns will still be collapsed on smaller screens. + +{{< cards cols="1" >}} + {{< card link="/" title="Top Card" >}} + {{< card link="/" title="Bottom Card" >}} +{{< /cards >}} + +{{< cards cols="2" >}} + {{< card link="/" title="Left Card" >}} + {{< card link="/" title="Right Card" >}} +{{< /cards >}} + +``` +{{}} + {{}} + {{}} +{{}} + +{{}} + {{}} + {{}} +{{}} +``` +