New to Kendo UI for Angular? Start a free 30-day trial

Customizing Card

Variables

The following table lists the available variables for customization.

NameTypeDefault valueComputed value
$kendo-card-padding-xStringk-spacing(3)var(--kendo-spacing-3, 0.75rem)
Description
The horizontal padding of the Card.
$kendo-card-padding-yStringk-spacing(3)var(--kendo-spacing-3, 0.75rem)
Description
The vertical padding of the Card.
$kendo-card-border-widthNumber0px0px
Description
The width of the border around the Card.
$kendo-card-border-radiusStringk-border-radius(md)var(--kendo-border-radius-md, 0.25rem)
Description
The border radius of the Card.
$kendo-card-inner-border-radiusCalculationcalc( #{$kendo-card-border-radius} - #{$kendo-card-border-width} )calc(var(--kendo-border-radius-md, 0.25rem) - 0px)
Description
The inner border radius of the Card.
$kendo-card-font-familyStringvar( --kendo-font-family, inherit )var(--kendo-font-family, inherit)
Description
The font family of the Card.
$kendo-card-font-sizeStringvar( --kendo-font-size-sm, inherit )var(--kendo-font-size-sm, inherit)
Description
The font size of the Card.
$kendo-card-line-heightStringvar( --kendo-line-height, normal )var(--kendo-line-height, normal)
Description
The line height of the Card.
$kendo-card-deck-gapStringk-spacing(4)var(--kendo-spacing-4, 1rem)
Description
The spacing between the Cards in the Card deck.
$kendo-card-bgStringvar( --kendo-component-bg, initial )var(--kendo-component-bg, initial)
Description
The background color of the Card.
$kendo-card-textStringvar( --kendo-component-text, initial )var(--kendo-component-text, initial)
Description
The text color of the Card.
$kendo-card-borderStringvar( --kendo-component-border, initial )var(--kendo-component-border, initial)
Description
The border color of the Card.
$kendo-card-shadowStringvar( --kendo-box-shadow-depth-1, none )var(--kendo-box-shadow-depth-1, none)
Description
The shadow of the Card.
$kendo-card-focus-bgString$kendo-card-bgvar(--kendo-component-bg, initial)
Description
The background color of the focused Card.
$kendo-card-focus-textNullnullnull
Description
The text color of the focused Card.
$kendo-card-focus-borderStringvar( --kendo-component-border, initial )var(--kendo-component-border, initial)
Description
The border color of the focused Card.
$kendo-card-focus-shadowStringvar( --kendo-box-shadow-depth-3, none )var(--kendo-box-shadow-depth-3, none)
Description
The shadow of the focused Card.
$kendo-card-header-font-sizeStringvar( --kendo-font-size-lg, inherit )var(--kendo-font-size-lg, inherit)
Description
The font size of the Card header.
$kendo-card-header-font-familyStringvar( --kendo-font-family, inherit )var(--kendo-font-family, inherit)
Description
Тhe font family of the Card header.
$kendo-card-header-font-weightStringvar( --kendo-font-weight, initial )var(--kendo-font-weight, initial)
Description
The font weight of the Card header.
$kendo-card-header-line-heightStringvar( --kendo-line-height, normal )var(--kendo-line-height, normal)
Description
The line height of the Card header.
$kendo-card-header-padding-xStringk-spacing(3)var(--kendo-spacing-3, 0.75rem)
Description
The horizontal padding of the Card header.
$kendo-card-header-padding-yStringk-spacing(3)var(--kendo-spacing-3, 0.75rem)
Description
The vertical padding of the Card header.
$kendo-card-header-border-widthNumber00
Description
The bottom border width of the Card header.
$kendo-card-header-bgStringinheritinherit
Description
The background color of the Card header.
$kendo-card-header-textStringif($kendo-enable-color-system, k-color( on-app-surface ), k-get-theme-color-var( neutral-190 ))var(--kendo-color-on-app-surface, #323130)
Description
The text color of the Card header.
$kendo-card-header-borderStringinheritinherit
Description
The border color of the Card header.
$kendo-card-body-padding-xStringk-spacing(3)var(--kendo-spacing-3, 0.75rem)
Description
The horizontal padding of the Card body.
$kendo-card-body-padding-yStringk-spacing(3)var(--kendo-spacing-3, 0.75rem)
Description
The vertical padding of the Card body.
$kendo-card-footer-padding-xString$kendo-card-padding-xvar(--kendo-spacing-3, 0.75rem)
Description
The horizontal padding of the Card footer.
$kendo-card-footer-padding-yString$kendo-card-padding-yvar(--kendo-spacing-3, 0.75rem)
Description
The vertical padding of the Card footer.
$kendo-card-footer-border-widthNumber00
Description
The top border width of the Card footer.
$kendo-card-footer-bgStringinheritinherit
Description
The background color of the Card footer.
$kendo-card-footer-textStringinheritinherit
Description
The text color of the Card footer.
$kendo-card-footer-borderStringinheritinherit
Description
The border color of the Card footer.
$kendo-card-title-font-sizeStringvar( --kendo-font-size-lg, inherit )var(--kendo-font-size-lg, inherit)
Description
The font size of the Card title.
$kendo-card-title-font-familyStringvar( --kendo-font-family, inherit )var(--kendo-font-family, inherit)
Description
The font family of the Card title.
$kendo-card-title-font-weightString$kendo-card-header-font-weightvar(--kendo-font-weight, initial)
Description
The font weight of the Card title.
$kendo-card-title-line-heightStringvar( --kendo-line-height, normal )var(--kendo-line-height, normal)
Description
The line height of the Card title.
$kendo-card-title-margin-bottomStringk-spacing(3)var(--kendo-spacing-3, 0.75rem)
Description
The bottom margin of the Card title.
$kendo-card-subtitle-font-sizeStringvar( --kendo-font-size-sm, inherit )var(--kendo-font-size-sm, inherit)
Description
The font size of the Card subtitle.
$kendo-card-subtitle-font-familyStringvar( --kendo-font-family, inherit )var(--kendo-font-family, inherit)
Description
The font family of the Card subtitle.
$kendo-card-subtitle-line-heightStringvar( --kendo-line-height, normal )var(--kendo-line-height, normal)
Description
The line height of the Card subtitle.
$kendo-card-subtitle-margin-bottomStringk-spacing(3)var(--kendo-spacing-3, 0.75rem)
Description
The bottom margin of the Card subtitle.
$kendo-card-subtitle-textString$kendo-subtle-textvar(--kendo-color-subtle, #605e5c)
Description
The text color of the Card subtitle.
$kendo-card-img-max-widthNumber100px100px
Description
The maximum width of the Card image.
$kendo-card-avatar-sizeNumber3rem3rem
Description
The size of the Avatar in the Card.
$kendo-card-avatar-spacingString$kendo-card-header-padding-xvar(--kendo-spacing-3, 0.75rem)
Description
The spacing between the Avatar and the text in the Card.
$kendo-card-actions-padding-xStringk-spacing(3)var(--kendo-spacing-3, 0.75rem)
Description
The horizontal padding of the Card actions.
$kendo-card-actions-padding-yStringk-spacing(3)var(--kendo-spacing-3, 0.75rem)
Description
The vertical padding of the Card actions.
$kendo-card-actions-border-widthNumber00
Description
The top border width of the Card actions.
$kendo-card-actions-gapStringk-spacing(2)var(--kendo-spacing-2, 0.5rem)
Description
The spacing between the Card actions.
$kendo-card-deck-scroll-button-radiusNumber00
Description
The border radius of the scroll button in the Card deck.
$kendo-card-deck-scroll-button-offsetNumber( -1 * $kendo-button-border-width )-1px
Description
The border radius of the scroll button in the Card deck.
$kendo-card-callout-sizeNumber20px20px
Description
The size of the Card callout.

In this article

Not finding the help you need?