You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By default images will be considered decorative and ignored by screen readers, but if you want to provide an alt text for the image you can provide it with the `@alt`parameter:
25
+
By default images will be considered decorative and ignored by screen readers, but if you want to provide an alt text for the image you can provide it with the `alt`key in the `@image` hash:
By default the card will have the image to the left of the content. If you want to make the card a **vertical** card you can apply the `vertical` attribute;
35
+
Here is a fuller example of a card that has more structure in the card body
It is unlikely that you will be using this vertical display of a card with a full width container so you might want to use a layout grid to contain the card:
<p>A framework for ambitious web developers. Try it out!</p>
78
42
<divclass="flex-horizontal-between">
@@ -83,85 +47,48 @@ And here is a fuller example of a vertical, full-image card that has more struct
83
47
</ul>
84
48
```
85
49
86
-
You can also create a card that allows a link to an external resource using `<a href=""></a>` somewhere in the card body, most likely in the header:
50
+
And here is a full card based page layout (which also makes use of the [ESLinkCard](/components/link-card) component) that might be useful when building sites using this component:
<p>Post and search longer-form questions in our public forum.</p>
95
-
</EsCard>
96
-
</ul>
97
-
```
98
-
99
-
But if you would like the whole card to become interactive and act as a link you can add the `card-link` attribute. This will stretch the link to be the full area of the card:
0 commit comments