From: Brett Mason Date: Sun, 16 Oct 2016 07:34:29 +0000 (+0100) Subject: Update to rename `.card-content` to `.card-section`. This matches the Foundation... X-Git-Tag: v6.3-rc1~38^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9f539f8b568cd3487de7eda65e67f65756bfe68f;p=thirdparty%2Ffoundation%2Ffoundation-sites.git Update to rename `.card-content` to `.card-section`. This matches the Foundation for Apps version and is more semantic. --- diff --git a/docs/pages/card.md b/docs/pages/card.md index 9a4e2c405..d61b959ab 100644 --- a/docs/pages/card.md +++ b/docs/pages/card.md @@ -9,9 +9,9 @@ tags: ## Basics A card is just an element with a `.card` class applied. You can put any kind of content inside. -Make sure you wrap your content in a `.card-content` element in order to achieve the traditional card look. +Make sure you wrap your content in a `.card-section` element in order to achieve the traditional card look. -A card container has no padding, allowing you to place full-bleed images inside. Use the `.card-divider` and `.card-content` classes to sub-divide a card. +A card container has no padding, allowing you to place full-bleed images inside. Use the `.card-divider` and `.card-section` classes to sub-divide a card. ```html_example
@@ -19,7 +19,7 @@ A card container has no padding, allowing you to place full-bleed images inside. This is a header
-
+

This is a card.

It has an easy to override visual style, and is appropriately subdued.

@@ -38,7 +38,7 @@ You can also include a `.card-divider` element as a title, footer or to break up

I'm featured

-
+

This card makes use of the card-divider element.

@@ -48,12 +48,12 @@ You can also include a `.card-divider` element as a title, footer or to break up ### Images -Images play nicely with cards. Simply include one outside of the `.card-content` element to span nicely to the edges. +Images play nicely with cards. Simply include one outside of the `.card-section` element to span nicely to the edges. ```html_example
-
+

This is a simple card with an image.

@@ -61,7 +61,7 @@ Images play nicely with cards. Simply include one outside of the `.card-content` ```html_example
-
+

Images work just fine below the content too!

@@ -79,7 +79,7 @@ You can either set the width of cards with custom css or add them into the Found
-
+

This is a card.

It has an easy to override visual style, and is appropriately subdued.

@@ -88,7 +88,7 @@ You can either set the width of cards with custom css or add them into the Found
-
+

This is a card.

It has an easy to override visual style, and is appropriately subdued.

@@ -97,7 +97,7 @@ You can either set the width of cards with custom css or add them into the Found
-
+

This is a card.

It has an easy to override visual style, and is appropriately subdued.

@@ -106,7 +106,7 @@ You can either set the width of cards with custom css or add them into the Found
-
+

This is a card.

It has an easy to override visual style, and is appropriately subdued.

@@ -115,7 +115,7 @@ You can either set the width of cards with custom css or add them into the Found
-
+

This is a card.

It has an easy to override visual style, and is appropriately subdued.

@@ -124,7 +124,7 @@ You can either set the width of cards with custom css or add them into the Found
-
+

This is a card.

It has an easy to override visual style, and is appropriately subdued.

@@ -137,7 +137,7 @@ You can either set the width of cards with custom css or add them into the Found ## Common examples -Cards are very flexible and work seamlessly with other foundation components. +Cards are very flexible and work seamlessly with other Foundation components. Here are some common patterns to give you some inspiration! ```html_example @@ -145,7 +145,7 @@ Here are some common patterns to give you some inspiration!
-
+

Dreams feel real

I'm going to improvise. Listen, there's something you should know about me... about inception.

Last updated 1 minute ago @@ -155,7 +155,7 @@ Here are some common patterns to give you some inspiration!
-
+

Menus

Cards play nicely with menus too! Give them a try.