From fe6756485fea6bbe3ff3f9198b72bdbf9fbde8b5 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Thu, 23 Apr 2015 01:33:19 -0700 Subject: [PATCH] add card grid sizing --- docs/components/card.md | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/docs/components/card.md b/docs/components/card.md index d8a356f6a6..715c5eb3e5 100644 --- a/docs/components/card.md +++ b/docs/components/card.md @@ -19,6 +19,37 @@ Cards require very little markup, but do require some additional classes to give {% endexample %} +### Sizing + +Cards are block-leve by default, so they'll fill the available horizontal space. Constrain their widths via custom styles, our predefined grid classes, or our grid mixins. + +{% example html %} +
+

Special title treatment

+

With supporting text below as a natural lead-in to additional content.

+ Go somewhere +
+{% endexample %} + +{% example html %} +
+
+
+

Special title treatment

+

With supporting text below as a natural lead-in to additional content.

+ Go somewhere +
+
+
+
+

Special title treatment

+

With supporting text below as a natural lead-in to additional content.

+ Go somewhere +
+
+
+{% endexample %} + ### Text alignment You can quickly change the text alignment of any card—in its entirety or specific parts—with our [text align classes]().