The card element is part of a card component designed for displaying structured content such as images, titles, descriptions, and interaction buttons. Here's a breakdown of its classes and modifiers:
The _openedmodifier indicates the state of the card when it is expanded or opened. This class can be applied to an element that represents an expanded version of a card to distinguish it from a normal version.
Description
The
card
element is part of a card component designed for displaying structured content such as images, titles, descriptions, and interaction buttons. Here's a breakdown of its classes and modifiers:card
card__content
card__image
card__description
card__title
card__span
card__paragraph
card__like
card__likes
card__button
How this element appears in a Figma
The
_opened
modifier indicates the state of the card when it is expanded or opened. This class can be applied to an element that represents an expanded version of a card to distinguish it from a normal version.card__opened
card__image_opened
card__image_opened_button
card__content_opened
card__paragraph_opened
card__likes_opened
card__button_opened
How this element appears in a Figma
Usage
HTML structure of the element
Checklist
Before submitting this pull request, please ensure the following: