Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove gif, slight reorganization #1663

Merged
merged 1 commit into from
Aug 1, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 2 additions & 16 deletions src/pages/components/cards.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ Cards with pictograms offer two pictogram positions: top-aligned or bottom-align

<InlineNotification>

**Alignment:** We highly recommend using the bottom-aligned layout to achieve consistency with the updated [Carbon tile guidance](https://carbondesignsystem.com/components/tile/usage/).
**Alignment:** We highly recommend using the bottom-aligned layout to achieve consistency with the updated [Carbon tile guidance](https://carbondesignsystem.com/components/tile/usage/). In Carbon for IBM.com v2, all content in the card pictogram will be visible from the enabled state – there will be no hover reveal.

</InlineNotification>

Expand All @@ -148,21 +148,7 @@ Cards with pictograms offer two pictogram positions: top-aligned or bottom-align
</Row>

Bottom-aligning the pictogram ensures that the card heading is the first element the user reads. This helps when the
message is not immediately decipherable from the pictogram.

An added bonus for the bottom-aligned pictogram is the feature of showing copy on hover.

<Row>
<Column colMd={8} colLg={8}>

![Image of Card component](../../images/component/card/card-pictogram-motion.gif)

<Caption>
Example of copy being shown on hover with bottom-aligned pictogram
</Caption>

</Column>
</Row>
message is not immediately decipherable from the pictogram. An added bonus for the bottom-aligned pictogram is the feature of showing copy on hover.

Top-aligning the pictogram should only be used when the pictogram is strongly and precisely associated with the card
heading. For example, an airplane is the perfect choice for "Aerospace and defence", as shown in the above example.
Expand Down