PatternFly

Card

A card is a square or rectangular container that can contain any kind of content. Cards symbolize units of information, and each one acts as an entry point for users to access more details. For example, in dashboards and catalog views, cards function as a preview of a detailed page. Cards may also be used in data displays like card views, or for positioning content on a page.

Examples

Basic cards

Basic cards typically have a <CardTitle>, <CardBody> and <CardFooter>. You may omit these components as needed, but it is recommended to at least include a <CardBody> to provide details about the card item.

Title
Body

Modifiers

You can further modify the styling of the card's content by using the properties outlined below. In this example, you can enable each modifier by selecting its respective checkbox.

Most modifiers can be used in combination with each other, except for isCompact and isLarge, since they are contradictory.

Title
Body
Modifier
Description
isCompact
Modifies the card to include compact styling. Should not be used with isLarge.
isFlat
Modifies the card to include flat styling.
isRounded
Modifies the card to include rounded border styling.
isLarge
Modifies the card to be large. Should not be used with isCompact.
isFullHeight
Modifies the card so that it fills the total available height of its container.
isPlain
Modifies the card to include plain styling, which removes the border and background.

Header images and actions

You can include header actions with the actions property of <CardHeader> . The following example includes an image using the Brand component, and also includes a kebab dropdown and a checkbox in <CardHeader> actions.

The actions property for <CardHeader> includes the hasNoOffset property, which is false by default. When hasNoOffset is false, a negative margin is applied to help align default-sized card titles with card actions.

You may use hasNoOffset to remove this negative margin, which better aligns card actions in implementations that use large card titles or tall header images, for example.

Select the "actions hasNoOffset" checkbox in the example below to illustrate this behavior.

PatternFly logo
Title
Body

Title inline with images and actions

Moving <CardTitle> within the <CardHeader> will style it inline with any images or actions.

This is a really really really really really really really really really really long header
Body

Card header without title

Card actions can be placed in the card header even without a <CardTitle>.

Images can also be placed in the card header without a <CardTitle>.

This is the card body. There are only actions in the card head.

With HTML heading element

You may use the component property to place the card's title within an HTML heading element.

Title within an <h4> element

Body

With multiple body sections

You may use multiple body sections to visually separate blocks of content.

Title
Body
Body
Body

With a primary body section that fills

<CardBody> sections will fill the available height of the card when isFilled equals {true}, which is the default value. Set isFilled to {false} to disable this behavior for one or more body sections. The remaining available height of the card will be split between any <CardBody> section that does not set isFilled to {false}.

A common use case of this is to set all but one body section to isFilled={false} so that a primary body section fills the available space of the card as seen in the example below. This example has 3 <CardBody> sections, two of which set isFilled to {false}. The third <CardBody> fills the remaining height of the card.

Title
Body pf-m-no-fill
Body pf-m-no-fill
Body

Selectable

A selectable card can be selected by clicking anywhere within the card.

You must avoid rendering any other interactive content within the <Card> when it is meant to be selectable only. Refer to our actionable and selectable example if you need a card that is both selectable and has other interactive, actionable content.

First card
This card is selectable.
Second card
This card is selectable.
Third card
This card is selectable but disabled.

Single selectable

When a group of single selectable cards are related, you must pass the same name property to each card's selectableActions property.

First card
This card is single selectable.
Second card
This card is single selectable.
Third card
This card is single selectable but disabled.

Actionable

An actionable card can perform an action or navigate to a link by clicking anywhere within the card. To open a link in a new tab or window, pass the isExternalLink property to selectableActions.

You can pass the isClicked property to <Card> to convey that a card is the currently clicked one, such as when clicking a card would open a primary-detail view. This must not be used simply for "selection" of a card, and you should instead use our selectable card or single selectable card.

When a card is meant to be actionable only, you must avoid rendering any other interactive content within the <Card>, similar to selectable cards.

First card
This card performs an action on click.
Second card
This card can navigate to a link on click.
Third card
This card is clickable but disabled.

Actionable and selectable

A card can be selectable and have additional interactive content by passing both the isClickable and isSelectable properties to <Card>. The following example shows how the actionable functionality can be rendered anywhere within a selectable card.

When passing interactive content to an actionable and selectable card that is disabled, you should also ensure the interactive content is disabled as well, if applicable.

This card performs an action upon clicking the card title and is selectable.
Second Card
This card is selectable and has a link in the card body that navigates to Patternfly .
This card is clickable and selectable, but disabled.

Selectable cards (deprecated)

The following example shows a deprecated implementation of selectable cards. This example uses the isSelectable property instead of isSelectableRaised, which is the current recommendation for implementation. isSelectable applies selectable styling, but does not apply raised styling on hover and selection as isSelectableRaised does.

A tabIndex={0} is also manually passed to allow the card to be focused and clicked via keyboard.

First legacy selectable card
This is a selectable card. Click me to select me. Click again to deselect me.

Second legacy selectable card
This is a selectable card. Click me to select me. Click again to deselect me.

Selectable card accessibility features (deprecated)

Note: the following example uses deprecated properties. We recommend using the new selectableActions property for the CardHeader instead.

The following cards demonstrate how the hasSelectableInput and onSelectableInputChange properties improve accessibility for selectable cards.

The first card sets hasSelectableInput to true, which renders a checkbox input that is only visible to, and navigable by, screen readers. This input communicates to assistive technology users that a card is selectable, and if so, also communicates the current selection state.

By default, this input will have an aria-label that corresponds to the <CardTitle>. If this isn't defined, then you must pass a custom aria-label using the selectableInputAriaLabel property.

The first card passes an onChange callback to onSelectableInputChange to enable the selection/deselection of the associated card via checkbox input.

The second card does not set hasSelectableInput to true, so neither the input nor the selection state is communicated to users of assistive technologies.

We recommend navigating this example using a screen reader to best understand both cards.

Selectable card with proper accessibility considerations
When using a screen reader a checkbox will become navigable that indicates this card is selectable and communicate if it is currently selected.

Selectable card without proper accessibility considerations
When using a screen reader there are no indications that this card is selectable or if it is currently selected.

Expandable cards

A card can be made expandable using the isExpanded property. In the collapsed state, only the card header is shown, and the user can click the caret to view the rest of the card content.

Place any content that you want to be hidden within the <CardExpandableContent> component.

Title

Expandable with icon

An image can be placed in the card header to show users an icon beside the expansion caret.

PatternFly logo

Props

Card

*required
NameTypeDefaultDescription
childrenReact.ReactNodeContent rendered inside the Card
classNamestringAdditional classes added to the Card
componentunknown'div'Sets the base component to render. defaults to div
Deprecated: hasSelectableInputbooleanfalseFlag indicating that the card should render a hidden input to make it selectable
idstring''ID of the Card. Also passed back in the CardHeader onExpand callback.
isClickablebooleanfalseFlag indicating that the card is clickable and contains some action that triggers on click.
isClickedbooleanfalseFlag indicating whether a card that is either only clickable or that is both clickable and selectable is currently clicked and has clicked styling.
isCompactbooleanfalseModifies the card to include compact styling. Should not be used with isLarge.
isDisabledbooleanfalseFlag indicating that a clickable or selectable card is disabled.
Deprecated: isDisabledRaisedbooleanfalseModifies a raised selectable card to have disabled styling
isExpandedbooleanfalseFlag indicating if a card is expanded. Modifies the card to be expandable.
isFlatbooleanfalseModifies the card to include flat styling
isFullHeightbooleanfalseCause component to consume the available height of its container
isLargebooleanfalseModifies the card to be large. Should not be used with isCompact.
isPlainbooleanfalseModifies the card to include plain styling; this removes border and background
isRoundedbooleanfalseModifies the card to include rounded styling
isSelectablebooleanfalseFlag indicating that the card is selectable.
Deprecated: isSelectableRaisedbooleanfalseSpecifies the card is selectable, and applies raised styling on hover and select
isSelectedbooleanfalseFlag indicating whether a card that is either selectable only or both clickable and selectable is currently selected and has selected styling.
Deprecated: onSelectableInputChange(event: React.FormEvent<HTMLInputElement>, labelledBy: string) => void() => {}Callback that executes when the selectable input is changed
ouiaIdnumber | stringValue to overwrite the randomly generated data-ouia-component-id.
ouiaSafebooleantrueSet the value of data-ouia-safe. Only set to true when the component is in a static state, i.e. no animations are occurring. At all other times, this value must be false.
Deprecated: selectableInputAriaLabelstringAria label to apply to the selectable input if one is rendered

CardHeader

*required
NameTypeDefaultDescription
actionsCardHeaderActionsObjectActions of the card header
childrenReact.ReactNodeContent rendered inside the card header
classNamestringAdditional classes added to the card header
idstringID of the card header.
isToggleRightAlignedbooleanWhether to right-align expandable toggle button
onExpand(event: React.MouseEvent, id: string) => voidCallback expandable card
selectableActionsCardHeaderSelectableActionsObjectSelectable actions of the card header
toggleButtonPropsanyAdditional props for expandable toggle button

CardHeaderActionsObject

*required
NameTypeDefaultDescription
actionsrequiredReact.ReactNodeActions of the card header
classNamestringAdditional classes added to the actions wrapper
hasNoOffsetbooleanFlag indicating that the actions have no offset

CardHeaderSelectableActionsObject

*required
NameTypeDefaultDescription
selectableActionIdrequiredstringID passed to the selectable or clickable input
classNamestringAdditional classes added to the selectable actions wrapper
hasNoOffsetbooleanFlag indicating that the actions have no offset
isCheckedboolean
isExternalLinkbooleanFlag to indicate whether a clickable card's link should open in a new tab/window.
namestringName for the input element of a clickable or selectable card.
onChange(event: React.FormEvent<HTMLInputElement>, checked: boolean) => voidCallback for when a selectable card input changes
onClickAction(event: React.FormEvent<HTMLInputElement> | React.MouseEvent) => voidAction to call when clickable card is clicked
selectableActionAriaLabelstringAdds an accessible label to the selectable or clickable input
selectableActionAriaLabelledbystringAdds an accessible label to the selectable or clickable input by passing in a space separated list of id's.
tostringLink to navigate to when clickable card is clicked
variant'single' | 'multiple'Determines the type of input to be used for a selectable card.

CardTitle

*required
NameTypeDefaultDescription
childrenReact.ReactNodeContent rendered inside the CardTitle
classNamestringAdditional classes added to the CardTitle
componentunknown'div'Sets the base component to render. defaults to div

CardBody

*required
NameTypeDefaultDescription
childrenReact.ReactNodeContent rendered inside the Card Body
classNamestringAdditional classes added to the Card Body
componentunknown'div'Sets the base component to render. defaults to div
isFilledbooleantrueEnables the body Content to fill the height of the card

CardFooter

*required
NameTypeDefaultDescription
childrenReact.ReactNodeContent rendered inside the Card Footer
classNamestringAdditional classes added to the Footer
componentunknown'div'Sets the base component to render. defaults to div

CardExpandableContent

*required
NameTypeDefaultDescription
childrenReact.ReactNodeContent rendered inside the Card Body
classNamestringAdditional classes added to the Card Body

CSS variables

Expand or collapse columnSelectorVariableValue
.pf-v5-c-card--pf-v5-c-card--BackgroundColor
#fff
.pf-v5-c-card--pf-v5-c-card--BoxShadow
0 0.0625rem 0.125rem 0 rgba(3, 3, 3, 0.12), 0 0 0.125rem 0 rgba(3, 3, 3, 0.06)
.pf-v5-c-card--pf-v5-c-card--first-child--PaddingTop
1.5rem
.pf-v5-c-card--pf-v5-c-card--child--PaddingRight
1.5rem
.pf-v5-c-card--pf-v5-c-card--child--PaddingBottom
1.5rem
.pf-v5-c-card--pf-v5-c-card--child--PaddingLeft
1.5rem
.pf-v5-c-card--pf-v5-c-card--c-divider--child--PaddingTop
1.5rem
.pf-v5-c-card--pf-v5-c-card__title--not--last-child--PaddingBottom
1rem
.pf-v5-c-card--pf-v5-c-card__title-text--FontFamily
'"RedHatDisplay", helvetica, arial, sans-serif'
.pf-v5-c-card--pf-v5-c-card__title-text--FontSize
1rem
.pf-v5-c-card--pf-v5-c-card__title-text--FontWeight
400
.pf-v5-c-card--pf-v5-c-card__title-text--LineHeight
1.5
.pf-v5-c-card--pf-v5-c-card__body--FontSize
1rem
.pf-v5-c-card--pf-v5-c-card__footer--FontSize
1rem
.pf-v5-c-card--pf-v5-c-card__actions--PaddingLeft
1rem
.pf-v5-c-card--pf-v5-c-card__actions--Gap
0.5rem
.pf-v5-c-card--pf-v5-c-card__actions--MarginTop
calc(0.375rem * -1)
.pf-v5-c-card--pf-v5-c-card__actions--MarginBottom
calc(0.375rem * -1)
.pf-v5-c-card--pf-v5-c-card__header-toggle--MarginTop
calc(0.375rem * -1)
.pf-v5-c-card--pf-v5-c-card__header-toggle--MarginRight
0.25rem
.pf-v5-c-card--pf-v5-c-card__header-toggle--MarginBottom
calc(0.375rem * -1)
.pf-v5-c-card--pf-v5-c-card__header-toggle--MarginLeft
calc(1rem * -1)
.pf-v5-c-card--pf-v5-c-card__header-toggle-icon--Transition
all 250ms cubic-bezier(.42, 0, .58, 1)
.pf-v5-c-card--pf-v5-c-card--m-expanded__header-toggle-icon--Rotate
90deg
.pf-v5-c-card--pf-v5-c-card--m-selectable--BorderWidth
1px
.pf-v5-c-card--pf-v5-c-card--m-selectable--m-selected--BackgroundColor
#f0f0f0
.pf-v5-c-card--pf-v5-c-card--m-selectable--m-selected--BorderColor
#06c
.pf-v5-c-card--pf-v5-c-card--m-selectable--hover--BackgroundColor
#f5f5f5
.pf-v5-c-card--pf-v5-c-card--m-selectable--hover--BoxShadow
0 0.5rem 1rem 0 rgba(3, 3, 3, 0.16), 0 0 0.375rem 0 rgba(3, 3, 3, 0.08)
.pf-v5-c-card--pf-v5-c-card--m-selectable--focus--BackgroundColor
#bee1f4
.pf-v5-c-card--pf-v5-c-card--m-selectable--focus--BorderColor
#06c
.pf-v5-c-card--pf-v5-c-card--m-selectable--m-selected--focus--BorderColor
#06c
.pf-v5-c-card--pf-v5-c-card--m-selectable--m-disabled--BackgroundColor
#fafafa
.pf-v5-c-card--pf-v5-c-card--m-selectable--m-disabled--BorderColor
#d2d2d2
.pf-v5-c-card--pf-v5-c-card--m-selectable--m-disabled--BoxShadow
0 0.0625rem 0.125rem 0 rgba(3, 3, 3, 0.12), 0 0 0.125rem 0 rgba(3, 3, 3, 0.06)
.pf-v5-c-card--pf-v5-c-card--m-selectable--m-clickable--hover--BackgroundColor
#fff
.pf-v5-c-card--pf-v5-c-card--m-selectable--m-clickable--hover--BoxShadow
0 0.0625rem 0.125rem 0 rgba(3, 3, 3, 0.12), 0 0 0.125rem 0 rgba(3, 3, 3, 0.06)
.pf-v5-c-card--pf-v5-c-card--m-selectable--m-clickable--m-selected--BorderColor
transparent
.pf-v5-c-card--pf-v5-c-card--m-selectable--m-clickable--m-selected--BackgroundColor
#fff
.pf-v5-c-card--pf-v5-c-card--m-selectable--m-clickable--m-current--BackgroundColor
#f5f5f5
.pf-v5-c-card--pf-v5-c-card--m-selectable--m-clickable--m-current--BorderColor
#06c
.pf-v5-c-card--pf-v5-c-card--m-hoverable-raised--hover--BoxShadow
0 0.25rem 0.5rem 0rem rgba(3, 3, 3, 0.12), 0 0 0.25rem 0 rgba(3, 3, 3, 0.06)
.pf-v5-c-card--pf-v5-c-card--m-hoverable-raised--hover--before--BackgroundColor
#73bcf7
.pf-v5-c-card--pf-v5-c-card--m-selectable-raised--before--Right
0
.pf-v5-c-card--pf-v5-c-card--m-selectable-raised--before--Bottom
0
.pf-v5-c-card--pf-v5-c-card--m-selectable-raised--before--Left
0
.pf-v5-c-card--pf-v5-c-card--m-flat--m-selectable-raised--before--Right
calc(-1 * 1px)
.pf-v5-c-card--pf-v5-c-card--m-flat--m-selectable-raised--before--Bottom
calc(-1 * 1px)
.pf-v5-c-card--pf-v5-c-card--m-flat--m-selectable-raised--before--Left
calc(-1 * 1px)
.pf-v5-c-card--pf-v5-c-card--m-selectable-raised--before--Height
4px
.pf-v5-c-card--pf-v5-c-card--m-selectable-raised--before--BackgroundColor
transparent
.pf-v5-c-card--pf-v5-c-card--m-selectable-raised--before--Transition
none
.pf-v5-c-card--pf-v5-c-card--m-selectable-raised--before--ScaleY
1
.pf-v5-c-card--pf-v5-c-card--m-selectable-raised--before--TranslateY
0
.pf-v5-c-card--pf-v5-c-card--m-selectable-raised--hover--BoxShadow
0 0.25rem 0.5rem 0rem rgba(3, 3, 3, 0.12), 0 0 0.25rem 0 rgba(3, 3, 3, 0.06)
.pf-v5-c-card--pf-v5-c-card--m-selectable-raised--hover--before--BackgroundColor
#73bcf7
.pf-v5-c-card--pf-v5-c-card--m-selectable-raised--focus--BoxShadow
0 0.25rem 0.5rem 0rem rgba(3, 3, 3, 0.12), 0 0 0.25rem 0 rgba(3, 3, 3, 0.06)
.pf-v5-c-card--pf-v5-c-card--m-selectable-raised--focus--before--BackgroundColor
#73bcf7
.pf-v5-c-card--pf-v5-c-card--m-selectable-raised--active--BoxShadow
0 0.25rem 0.5rem 0rem rgba(3, 3, 3, 0.12), 0 0 0.25rem 0 rgba(3, 3, 3, 0.06)
.pf-v5-c-card--pf-v5-c-card--m-selectable-raised--active--before--BackgroundColor
#73bcf7
.pf-v5-c-card--pf-v5-c-card--m-selectable-raised--m-selected-raised--before--BackgroundColor
#06c
.pf-v5-c-card--pf-v5-c-card--m-selectable-raised--m-selected-raised--BoxShadow
0 0.5rem 1rem 0 rgba(3, 3, 3, 0.16), 0 0 0.375rem 0 rgba(3, 3, 3, 0.08)
.pf-v5-c-card--pf-v5-c-card--m-selectable-raised--m-selected-raised--TranslateY--base
-0.5rem
.pf-v5-c-card--pf-v5-c-card--m-selectable-raised--m-selected-raised--TranslateY
-0.5rem
.pf-v5-c-card--pf-v5-c-card--m-flat--m-selectable-raised--m-selected-raised--TranslateY
calc(-0.5rem + 1px)
.pf-v5-c-card--pf-v5-c-card--m-rounded--m-selectable-raised--m-selected-raised--TranslateY
calc(-0.5rem + 3px)
.pf-v5-c-card--pf-v5-c-card--m-selectable-raised--m-selected-raised--ZIndex
100
.pf-v5-c-card--pf-v5-c-card--m-selectable-raised--m-selected-raised--Transition
transform .25s linear, box-shadow .25s linear
.pf-v5-c-card--pf-v5-c-card--m-selectable-raised--m-selected-raised--before--Transition
transform .25s linear
.pf-v5-c-card--pf-v5-c-card--m-selectable-raised--m-selected-raised--before--TranslateY
calc(-0.5rem * -1)
.pf-v5-c-card--pf-v5-c-card--m-selectable-raised--m-selected-raised--before--ScaleY
2
.pf-v5-c-card--pf-v5-c-card--m-non-selectable-raised--BackgroundColor
#fafafa
.pf-v5-c-card--pf-v5-c-card--m-non-selectable-raised--before--BackgroundColor
#d2d2d2
.pf-v5-c-card--pf-v5-c-card--m-non-selectable-raised--before--ScaleY
2
.pf-v5-c-card--pf-v5-c-card--m-flat--m-non-selectable-raised--before--BorderColor
#d2d2d2
.pf-v5-c-card--pf-v5-c-card--m-compact__body--FontSize
0.875rem
.pf-v5-c-card--pf-v5-c-card--m-compact__footer--FontSize
0.875rem
.pf-v5-c-card--pf-v5-c-card--m-compact--first-child--PaddingTop
1rem
.pf-v5-c-card--pf-v5-c-card--m-compact--child--PaddingRight
1rem
.pf-v5-c-card--pf-v5-c-card--m-compact--child--PaddingBottom
1rem
.pf-v5-c-card--pf-v5-c-card--m-compact--child--PaddingLeft
1rem
.pf-v5-c-card--pf-v5-c-card--m-compact--c-divider--child--PaddingTop
1rem
.pf-v5-c-card--pf-v5-c-card--m-compact__title--not--last-child--PaddingBottom
0.5rem
.pf-v5-c-card--pf-v5-c-card--m-display-lg__title-text--FontSize
1.25rem
.pf-v5-c-card--pf-v5-c-card--m-display-lg--first-child--PaddingTop
2rem
.pf-v5-c-card--pf-v5-c-card--m-display-lg--child--PaddingRight
2rem
.pf-v5-c-card--pf-v5-c-card--m-display-lg--child--PaddingBottom
2rem
.pf-v5-c-card--pf-v5-c-card--m-display-lg--child--PaddingLeft
2rem
.pf-v5-c-card--pf-v5-c-card--m-display-lg--c-divider--child--PaddingTop
2rem
.pf-v5-c-card--pf-v5-c-card--m-display-lg__title--not--last-child--PaddingBottom
1.5rem
.pf-v5-c-card--pf-v5-c-card--m-flat--BorderWidth
1px
.pf-v5-c-card--pf-v5-c-card--m-flat--BorderColor
#d2d2d2
.pf-v5-c-card--pf-v5-c-card--m-rounded--BorderRadius
3px
.pf-v5-c-card--pf-v5-c-card--m-full-height--Height
100%
.pf-v5-c-card--pf-v5-c-card--m-plain--BoxShadow
none
.pf-v5-c-card--pf-v5-c-card--m-plain--BackgroundColor
transparent
.pf-v5-c-card--pf-v5-c-card__header--m-toggle-right--toggle--MarginRight
calc(0.375rem * -1)
.pf-v5-c-card--pf-v5-c-card__header--m-toggle-right--toggle--MarginLeft
0.25rem
.pf-v5-c-card--pf-v5-c-card__input--focus--BorderWidth
2px
.pf-v5-c-card--pf-v5-c-card__input--focus--BorderColor
#06c
.pf-v5-c-card.pf-m-selectable.pf-m-clickable .pf-v5-c-card__selectable-actions .pf-v5-c-check__input:where(:focus-visible) ~ .pf-v5-c-check__label--pf-v5-c-card--BackgroundColor
unset
.pf-v5-c-card.pf-m-selectable.pf-m-clickable .pf-v5-c-card__selectable-actions .pf-v5-c-check__input:where(:focus-visible) ~ .pf-v5-c-check__label--pf-v5-c-card--BorderColor
unset
.pf-v5-c-card.pf-m-selectable.pf-m-clickable .pf-v5-c-card__selectable-actions .pf-v5-c-check__input:where(:checked) ~ .pf-v5-c-check__label--pf-v5-c-card--BackgroundColor
#fff
.pf-v5-c-card.pf-m-selectable.pf-m-clickable .pf-v5-c-card__selectable-actions .pf-v5-c-check__input:where(:checked) ~ .pf-v5-c-check__label--pf-v5-c-card--BorderColor
transparent
.pf-v5-c-card.pf-m-selectable.pf-m-clickable.pf-m-current--pf-v5-c-card--BackgroundColor
#f5f5f5
.pf-v5-c-card.pf-m-selectable.pf-m-clickable.pf-m-current--pf-v5-c-card--BorderColor
#06c
.pf-v5-c-card.pf-m-selectable.pf-m-clickable.pf-m-current.pf-m-selected--pf-v5-c-card--BackgroundColor
#f5f5f5
.pf-v5-c-card.pf-m-selectable.pf-m-clickable.pf-m-current.pf-m-selected--pf-v5-c-card--BorderColor
#06c
.pf-v5-c-card.pf-m-selectable.pf-m-clickable .pf-v5-c-card__selectable-actions .pf-v5-c-check__input:where(:disabled) ~ .pf-v5-c-check__label--pf-v5-c-card--BackgroundColor
#fafafa
.pf-v5-c-card.pf-m-selectable.pf-m-clickable .pf-v5-c-card__selectable-actions .pf-v5-c-check__input:where(:disabled) ~ .pf-v5-c-check__label--pf-v5-c-card--BorderColor
#d2d2d2
.pf-v5-c-card.pf-m-selectable.pf-m-clickable .pf-v5-c-card__selectable-actions .pf-v5-c-check__input:where(:disabled) ~ .pf-v5-c-check__label--pf-v5-c-card--BoxShadow
0 0.0625rem 0.125rem 0 rgba(3, 3, 3, 0.12), 0 0 0.125rem 0 rgba(3, 3, 3, 0.06)
.pf-v5-c-card.pf-m-hoverable-raised:hover--pf-v5-c-card--BoxShadow
0 0.25rem 0.5rem 0rem rgba(3, 3, 3, 0.12), 0 0 0.25rem 0 rgba(3, 3, 3, 0.06)
.pf-v5-c-card.pf-m-hoverable-raised:hover--pf-v5-c-card--m-selectable-raised--before--BackgroundColor
#73bcf7
.pf-v5-c-card.pf-m-selectable-raised:hover--pf-v5-c-card--BoxShadow
0 0.25rem 0.5rem 0rem rgba(3, 3, 3, 0.12), 0 0 0.25rem 0 rgba(3, 3, 3, 0.06)
.pf-v5-c-card.pf-m-selectable-raised:hover--pf-v5-c-card--m-selectable-raised--before--BackgroundColor
#73bcf7
.pf-v5-c-card.pf-m-selectable-raised:focus--pf-v5-c-card--BoxShadow
0 0.25rem 0.5rem 0rem rgba(3, 3, 3, 0.12), 0 0 0.25rem 0 rgba(3, 3, 3, 0.06)
.pf-v5-c-card.pf-m-selectable-raised:focus--pf-v5-c-card--m-selectable-raised--before--BackgroundColor
#73bcf7
.pf-v5-c-card.pf-m-selectable-raised:active--pf-v5-c-card--BoxShadow
0 0.25rem 0.5rem 0rem rgba(3, 3, 3, 0.12), 0 0 0.25rem 0 rgba(3, 3, 3, 0.06)
.pf-v5-c-card.pf-m-selectable-raised:active--pf-v5-c-card--m-selectable-raised--before--BackgroundColor
#73bcf7
.pf-v5-c-card.pf-m-selectable-raised.pf-m-selected-raised--pf-v5-c-card--m-selectable-raised--before--BackgroundColor
#06c
.pf-v5-c-card.pf-m-selectable-raised.pf-m-selected-raised--pf-v5-c-card--m-selectable-raised--before--Transition
transform .25s linear
.pf-v5-c-card.pf-m-selectable-raised.pf-m-selected-raised--pf-v5-c-card--m-selectable-raised--before--TranslateY
calc(-0.5rem * -1)
.pf-v5-c-card.pf-m-selectable-raised.pf-m-selected-raised--pf-v5-c-card--m-selectable-raised--before--ScaleY
2
.pf-v5-c-card.pf-m-non-selectable-raised--pf-v5-c-card--BackgroundColor
#fafafa
.pf-v5-c-card.pf-m-non-selectable-raised--pf-v5-c-card--BoxShadow
none
.pf-v5-c-card.pf-m-non-selectable-raised--pf-v5-c-card--m-flat--BorderColor
#d2d2d2
.pf-v5-c-card.pf-m-non-selectable-raised--pf-v5-c-card--m-selectable-raised--before--BackgroundColor
#d2d2d2
.pf-v5-c-card.pf-m-non-selectable-raised--pf-v5-c-card--m-selectable-raised--before--ScaleY
2
.pf-v5-c-card.pf-m-compact--pf-v5-c-card__body--FontSize
0.875rem
.pf-v5-c-card.pf-m-compact--pf-v5-c-card__footer--FontSize
0.875rem
.pf-v5-c-card.pf-m-compact--pf-v5-c-card--first-child--PaddingTop
1rem
.pf-v5-c-card.pf-m-compact--pf-v5-c-card--child--PaddingRight
1rem
.pf-v5-c-card.pf-m-compact--pf-v5-c-card--child--PaddingBottom
1rem
.pf-v5-c-card.pf-m-compact--pf-v5-c-card--child--PaddingLeft
1rem
.pf-v5-c-card.pf-m-compact--pf-v5-c-card--c-divider--child--PaddingTop
1rem
.pf-v5-c-card.pf-m-compact--pf-v5-c-card__title--not--last-child--PaddingBottom
0.5rem
.pf-v5-c-card.pf-m-display-lg--pf-v5-c-card__title-text--FontSize
1.25rem
.pf-v5-c-card.pf-m-display-lg--pf-v5-c-card--first-child--PaddingTop
2rem
.pf-v5-c-card.pf-m-display-lg--pf-v5-c-card--child--PaddingRight
2rem
.pf-v5-c-card.pf-m-display-lg--pf-v5-c-card--child--PaddingBottom
2rem
.pf-v5-c-card.pf-m-display-lg--pf-v5-c-card--child--PaddingLeft
2rem
.pf-v5-c-card.pf-m-display-lg--pf-v5-c-card--c-divider--child--PaddingTop
2rem
.pf-v5-c-card.pf-m-display-lg--pf-v5-c-card__title--not--last-child--PaddingBottom
1.5rem
.pf-v5-c-card.pf-m-flat--pf-v5-c-card--BoxShadow
none
.pf-v5-c-card.pf-m-flat--pf-v5-c-card--m-selectable-raised--before--Right
calc(-1 * 1px)
.pf-v5-c-card.pf-m-flat--pf-v5-c-card--m-selectable-raised--before--Bottom
calc(-1 * 1px)
.pf-v5-c-card.pf-m-flat--pf-v5-c-card--m-selectable-raised--before--Left
calc(-1 * 1px)
.pf-v5-c-card.pf-m-flat--pf-v5-c-card--m-selectable-raised--m-selected-raised--TranslateY
calc(-0.5rem + 1px)
.pf-v5-c-card.pf-m-plain--pf-v5-c-card--BoxShadow
none
.pf-v5-c-card.pf-m-plain--pf-v5-c-card--BackgroundColor
transparent
.pf-v5-c-card.pf-m-rounded--pf-v5-c-card--m-selectable-raised--m-selected-raised--TranslateY
calc(-0.5rem + 3px)
.pf-v5-c-card__header .pf-v5-c-card__title--pf-v5-c-card--first-child--PaddingTop
0
.pf-v5-c-card__header .pf-v5-c-card__title--pf-v5-c-card__title--not--last-child--PaddingBottom
0
.pf-v5-c-card__header.pf-m-toggle-right--pf-v5-c-card__header-toggle--MarginRight
calc(0.375rem * -1)
.pf-v5-c-card__header.pf-m-toggle-right--pf-v5-c-card__header-toggle--MarginLeft
0.25rem
.pf-v5-c-card__actions.pf-m-no-offset--pf-v5-c-card__actions--MarginTop
0
.pf-v5-c-card__actions.pf-m-no-offset--pf-v5-c-card__actions--MarginBottom
0
.pf-v5-c-card__selectable-actions .pf-v5-c-check__label:hover--pf-v5-c-card--BackgroundColor
#f5f5f5
.pf-v5-c-card__selectable-actions .pf-v5-c-check__label:hover--pf-v5-c-card--BoxShadow
0 0.5rem 1rem 0 rgba(3, 3, 3, 0.16), 0 0 0.375rem 0 rgba(3, 3, 3, 0.08)
.pf-v5-c-card__selectable-actions .pf-v5-c-check__input:where(:checked) ~ .pf-v5-c-check__label--pf-v5-c-card--BorderColor
#06c
.pf-v5-c-card__selectable-actions .pf-v5-c-check__input:where(:checked) ~ .pf-v5-c-check__label--pf-v5-c-card--BackgroundColor
#f0f0f0
.pf-v5-c-card__selectable-actions .pf-v5-c-check__input:where(:focus-visible) ~ .pf-v5-c-check__label--pf-v5-c-card--BorderColor
#06c
.pf-v5-c-card__selectable-actions .pf-v5-c-check__input:where(:focus-visible) ~ .pf-v5-c-check__label--pf-v5-c-card--BackgroundColor
#bee1f4
.pf-v5-c-card__selectable-actions .pf-v5-c-check__input:where(:focus-visible):where(:checked) ~ .pf-v5-c-check__label--pf-v5-c-card--BorderColor
#06c
.pf-v5-c-card__selectable-actions .pf-v5-c-check__input:where(:disabled) ~ .pf-v5-c-check__label--pf-v5-c-card--BackgroundColor
#fafafa
.pf-v5-c-card__selectable-actions .pf-v5-c-check__input:where(:disabled) ~ .pf-v5-c-check__label--pf-v5-c-card--BorderColor
#d2d2d2
.pf-v5-c-card__selectable-actions .pf-v5-c-check__input:where(:disabled) ~ .pf-v5-c-check__label--pf-v5-c-card--BoxShadow
0 0.0625rem 0.125rem 0 rgba(3, 3, 3, 0.12), 0 0 0.125rem 0 rgba(3, 3, 3, 0.06)
.pf-v5-c-card__expandable-content--pf-v5-c-card--first-child--PaddingTop
0

View source on GitHub