Skip to content

Latest commit

 

History

History
285 lines (155 loc) · 7.55 KB

StripeElementStyleVariant.md

File metadata and controls

285 lines (155 loc) · 7.55 KB

@bigcommerce/checkout-sdk / StripeElementStyleVariant

Interface: StripeElementStyleVariant

Hierarchy

Table of contents

Properties

Properties

:-webkit-autofill

Optional :-webkit-autofill: StripeElementCSSProperties


::-ms-clear

Optional ::-ms-clear: StripeElementCSSProperties & { display: string }

Available for the cardNumber, cardExpiry, and cardCvc elements.


::placeholder

Optional ::placeholder: StripeElementCSSProperties


::selection

Optional ::selection: StripeElementCSSProperties


:disabled

Optional :disabled: StripeElementCSSProperties

Available for all elements except the paymentRequestButton element


:focus

Optional :focus: StripeElementCSSProperties


:hover

Optional :hover: StripeElementCSSProperties


backgroundColor

Optional backgroundColor: string

The background-color CSS property.

This property works best with the ::selection pseudo-class. In other cases, consider setting the background color on the element's container instaed.

Inherited from

StripeElementCSSProperties.backgroundColor


color

Optional color: string

The color CSS property.

Inherited from

StripeElementCSSProperties.color


fontFamily

Optional fontFamily: string

The font-family CSS property.

Inherited from

StripeElementCSSProperties.fontFamily


fontSize

Optional fontSize: string

The font-size CSS property.

Inherited from

StripeElementCSSProperties.fontSize


fontSmoothing

Optional fontSmoothing: string

The font-smoothing CSS property.

Inherited from

StripeElementCSSProperties.fontSmoothing


fontStyle

Optional fontStyle: string

The font-style CSS property.

Inherited from

StripeElementCSSProperties.fontStyle


fontVariant

Optional fontVariant: string

The font-variant CSS property.

Inherited from

StripeElementCSSProperties.fontVariant


fontWeight

Optional fontWeight: string

The font-weight CSS property.

Inherited from

StripeElementCSSProperties.fontWeight


iconColor

Optional iconColor: string

A custom property, used to set the color of the icons that are rendered in an element.

Inherited from

StripeElementCSSProperties.iconColor


letterSpacing

Optional letterSpacing: string

The letter-spacing CSS property.

Inherited from

StripeElementCSSProperties.letterSpacing


lineHeight

Optional lineHeight: string

The line-height CSS property.

To avoid cursors being rendered inconsistently across browsers, consider using a padding on the element's container instead.

Inherited from

StripeElementCSSProperties.lineHeight


padding

Optional padding: string

The padding CSS property.

Available for the idealBank element. Accepts integer px values.

Inherited from

StripeElementCSSProperties.padding


textAlign

Optional textAlign: string

The text-align CSS property.

Available for the cardNumber, cardExpiry, and cardCvc elements.

Inherited from

StripeElementCSSProperties.textAlign


textDecoration

Optional textDecoration: string

The text-decoration CSS property.

Inherited from

StripeElementCSSProperties.textDecoration


textShadow

Optional textShadow: string

The text-shadow CSS property.

Inherited from

StripeElementCSSProperties.textShadow


textTransform

Optional textTransform: string

The text-transform CSS property.

Inherited from

StripeElementCSSProperties.textTransform