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-xNumberk-map-get( $kendo-spacing, 4 )16px
Description
The horizontal padding of the Card.
$kendo-card-padding-yNumberk-map-get( $kendo-spacing, 3 )12px
Description
The vertical padding of the Card.
$kendo-card-border-widthNumber1px1px
Description
The width of the border around the Card.
$kendo-card-border-radiusNumber$kendo-border-radius-lg6px
Description
The border radius of the Card.
$kendo-card-inner-border-radiusCalculationcalc( #{$kendo-card-border-radius} - #{$kendo-card-border-width} )calc(6px - 1px)
Description
The inner border radius of the Card.
$kendo-card-font-familyString$kendo-font-familyinherit
Description
The font family of the Card.
$kendo-card-font-sizeNumber$kendo-font-size-md14px
Description
The font size of the Card.
$kendo-card-line-heightNumber$kendo-line-height-md1.4285714286
Description
The line height of the Card.
$kendo-card-deck-gapNumberk-map-get( $kendo-spacing, 4 )16px
Description
The spacing between the Cards in the Card deck.
$kendo-card-bgColor$kendo-component-bg#ffffff
Description
The background color of the Card.
$kendo-card-textColor$kendo-component-text#424242
Description
The text color of the Card.
$kendo-card-borderColor$kendo-component-borderrgba(0, 0, 0, 0.08)
Description
The border color of the Card.
$kendo-card-shadowNullnullnull
Description
The shadow of the Card.
$kendo-card-focus-bgNullnullnull
Description
The background color of the focused Card.
$kendo-card-focus-textNullnullnull
Description
The text color of the focused Card.
$kendo-card-focus-borderColorrgba( black, .15 )rgba(0, 0, 0, 0.15)
Description
The border color of the focused Card.
$kendo-card-focus-shadowNullnullnull
Description
The shadow of the focused Card.
$kendo-card-header-padding-xNumber$kendo-card-padding-x16px
Description
The horizontal padding of the Card header.
$kendo-card-header-padding-yNumber$kendo-card-padding-y12px
Description
The vertical padding of the Card header.
$kendo-card-header-border-widthNumber1px1px
Description
The bottom border width of the Card header.
$kendo-card-header-bgNullnullnull
Description
The background color of the Card header.
$kendo-card-header-textColor$kendo-component-header-text#424242
Description
The text color of the Card header.
$kendo-card-header-borderColor$kendo-component-header-borderrgba(0, 0, 0, 0.08)
Description
The border color of the Card header.
$kendo-card-body-padding-xNumberk-map-get( $kendo-spacing, 4 )16px
Description
The horizontal padding of the Card body.
$kendo-card-body-padding-yNumberk-map-get( $kendo-spacing, 4 )16px
Description
The vertical padding of the Card body.
$kendo-card-footer-padding-xNumber$kendo-card-padding-x16px
Description
The horizontal padding of the Card footer.
$kendo-card-footer-padding-yNumber$kendo-card-padding-y12px
Description
The vertical padding of the Card footer.
$kendo-card-footer-border-widthNumber1px1px
Description
The top border width of the Card footer.
$kendo-card-footer-bgNullnullnull
Description
The background color of the Card footer.
$kendo-card-footer-textColor$kendo-component-header-text#424242
Description
The text color of the Card footer.
$kendo-card-footer-borderColor$kendo-component-header-borderrgba(0, 0, 0, 0.08)
Description
The border color of the Card footer.
$kendo-card-title-margin-bottomNumberk-map-get( $kendo-spacing, 2 )8px
Description
The bottom margin of the Card title.
$kendo-card-title-font-sizeNumber$kendo-h5-font-size16px
Description
The font size of the Card title.
$kendo-card-title-font-familyNullnullnull
Description
The font family of the Card title.
$kendo-card-title-line-heightNumber1.251.25
Description
The line height of the Card title.
$kendo-card-title-font-weightNumber$kendo-font-weight-normal400
Description
The font weight of the Card title.
$kendo-card-title-letter-spacingNullnullnull
Description
The letter spacing of the Card title.
$kendo-card-subtitle-margin-bottomNumberk-map-get( $kendo-spacing, 2 )8px
Description
The bottom margin of the Card subtitle.
$kendo-card-subtitle-font-sizeNumber$kendo-font-size-sm12px
Description
The font size of the Card subtitle.
$kendo-card-subtitle-font-familyNullnullnull
Description
The font family of the Card subtitle.
$kendo-card-subtitle-line-heightStringnormalnormal
Description
The line height of the Card subtitle.
$kendo-card-subtitle-font-weightNumber$kendo-font-weight-normal400
Description
The font weight of the Card subtitle.
$kendo-card-subtitle-letter-spacingNullnullnull
Description
The letter spacing of the Card subtitle.
$kendo-card-subtitle-textColor$kendo-subtle-text#666666
Description
The text color of the Card subtitle.
$kendo-card-img-max-widthNumber100px100px
Description
The maximum width of the Card image.
$kendo-card-avatar-sizeNumber45px45px
Description
The size of the Avatar in the Card.
$kendo-card-avatar-spacingNumber$kendo-card-header-padding-x16px
Description
The spacing between the Avatar and the text in the Card.
$kendo-card-actions-padding-xNumberk-map-get( $kendo-spacing, 2 )8px
Description
The horizontal padding of the Card actions.
$kendo-card-actions-padding-yNumberk-map-get( $kendo-spacing, 2 )8px
Description
The vertical padding of the Card actions.
$kendo-card-actions-border-widthNumber1px1px
Description
The top border width of the Card actions.
$kendo-card-actions-gapNumberk-map-get( $kendo-spacing, 2 )8px
Description
The spacing between the Card actions.
$kendo-card-deck-scroll-button-radiusNumber0px0px
Description
The border radius of the scroll button in the Card deck.
$kendo-card-deck-scroll-button-offsetNumber-$kendo-button-border-width-1px
Description
The border radius of the scroll button in the Card deck.
$kendo-card-callout-widthNumber20px20px
Description
The width of the Card callout.
$kendo-card-callout-heightNumber20px20px
Description
The height of the Card callout.

In this article

Not finding the help you need?