1. Types
Español
  • Español
  • English
  • Home Page
  • Libraries & SDKs (Online Payments)
    • Release notes
    • Mobile
      • Kushki Android
      • Kushki iOS 
      • Kushki iOS ARM Setup
    • Web
      • Kushki.js 🌐
      • kushki.js-hosted-fields
        • kushki.js Hosted Fields
        • Guía de migración a Kushki.js 2.0
        • Antifraud
          • Interfaces
            • SecureInitRequest
            • SecureInitResponse
            • SiftScienceObject
          • Methods
            • requestInitAntiFraud
            • requestSecureInit
            • requestValidate3DS
        • Card
          • CarApplePay interface
            • ICardApplePay Interface
          • Card-Interface
            • ICard Interface
            • ICardSubscriptions Interface
          • Errors
            • Error list
          • Interfaces
            • Amount
            • ApplePayGetTokenOptions Interface
            • ApplePayOptions Interface
            • ApplePayPaymentContact
            • AppleTokenResponse
            • BrandByMerchantResponse Interface
            • CardFieldValues
            • CardInfo
            • CardOptions
            • CardTokenResponse
            • DeferredByBinOptionsResponse
            • DeferredInputValues
            • DeferredValuesResponse
            • DeviceTokenRequest
            • Field
            • FieldInstance
            • Fields
            • FieldValidity
            • FormValidity
            • MasterCardBrandingRequest
            • SecureDeviceTokenOptions
            • Styles
            • TokenResponse
            • VisaBrandingRequest
          • Methods
            • initApplePayButton
            • initCardToken
            • initSecureDeviceToken
            • requestBrandsByMerchant method
            • requestDeviceToken method
            • requestInitCardBrandingAnimation
          • Types
            • CssProperties
            • Currency
            • FieldTypeEnum
        • Card Payouts
          • Card Payouts Interface
            • ICardPayouts
          • Enumerations
            • Enumeration `InputModelEnum`
          • Errors
            • Errors
          • Interfaces
            • CardPayoutOptions
            • CardPayoutSubscriptionTokenResponse
            • CardPayoutUniqueTokenResponse
            • Field
            • Fields
            • FieldValidity
            • Interface FormValidity
            • Interface `Styles`
          • Methods
            • initCardPayoutToken
          • Type Aliases
            • CardPayoutTokenResponse
            • InputTypeEnum
          • Types
            • CssProperties
        • Kushki
          • Methods
            • init function
            • requestBankList function
            • requestCommissionConfiguration function
          • Classes
            • KushkiError
          • Interfaces
            • CommissionConfigurationRequest
            • IKushki
            • KushkiOptions
Bienvenida
Perú 🇵🇪México 🇲🇽Ecuador 🇪🇨Colombia 🇨🇴Chile 🇨🇱
Bienvenida
Perú 🇵🇪México 🇲🇽Ecuador 🇪🇨Colombia 🇨🇴Chile 🇨🇱
  1. Types

CssProperties

Type Alias CssProperties#

Represents the CSS styles that can be applied to hosted fields.

Type Definition#

Properties#

PropertyTypeRequiredDescription
-moz-appearancestring❌ NoDefines the appearance for Mozilla-based browsers.
-moz-box-shadowstring❌ NoSpecifies the shadow effect for Mozilla-based browsers.
-moz-osx-font-smoothingstring❌ NoControls font smoothing on macOS in Firefox.
-moz-tap-highlight-colorstring❌ NoDefines the highlight color on tap events for Mozilla-based browsers.
-moz-transitionstring❌ NoSpecifies the transition effect for Mozilla-based browsers.
-webkit-appearancestring❌ NoDefines the appearance for Webkit-based browsers.
-webkit-box-shadowstring❌ NoSpecifies the shadow effect for Webkit-based browsers.
-webkit-font-smoothingstring❌ NoControls font smoothing for Webkit-based browsers.
-webkit-tap-highlight-colorstring❌ NoDefines the highlight color on tap events for Webkit-based browsers.
-webkit-transitionstring❌ NoSpecifies the transition effect for Webkit-based browsers.
appearancestring❌ NoDefines the UI appearance of an element.
backgroundstring❌ NoSets the background properties of an element.
borderstring❌ NoDefines the border properties of an element.
box-shadowstring❌ NoSpecifies the shadow effect on elements.
colorstring❌ NoSets the text color.
directionstring❌ NoDefines the text direction (ltr or rtl).
fontstring❌ NoSets font properties in a shorthand format.
font-familystring❌ NoSpecifies the font family of text.
font-sizestring❌ NoDefines the size of the font.
font-size-adjuststring❌ NoAdjusts font-size based on lowercase letters.
font-stretchstring❌ NoDefines how the font should be stretched.
font-stylestring❌ NoDefines the style of the font (normal, italic, oblique).
font-variantstring❌ NoSpecifies the font variant properties.
font-variant-alternatesstring❌ NoControls font alternates.
font-variant-capsstring❌ NoDefines capitalization variants.
font-variant-east-asianstring❌ NoSpecifies East Asian font rendering options.
font-variant-ligaturesstring❌ NoControls how ligatures are rendered.
font-variant-numericstring❌ NoSpecifies numeric glyph variations.
font-weightstring❌ NoDefines the weight (boldness) of the font.
letter-spacingstring❌ NoSets the spacing between letters.
line-heightstring❌ NoDefines the height of a line of text.
marginstring❌ NoSets the margin space around an element.
margin-bottomstring❌ NoSets the bottom margin.
margin-leftstring❌ NoSets the left margin.
margin-rightstring❌ NoSets the right margin.
margin-topstring❌ NoSets the top margin.
opacitystring❌ NoDefines the transparency level of an element.
outlinestring❌ NoSpecifies the outline of an element.
paddingstring❌ NoSets the padding inside an element.
padding-bottomstring❌ NoSets the bottom padding.
padding-leftstring❌ NoSets the left padding.
padding-rightstring❌ NoSets the right padding.
padding-topstring❌ NoSets the top padding.
text-alignstring❌ NoSpecifies text alignment (left, center, right).
text-shadowstring❌ NoDefines the shadow effect for text.
transitionstring❌ NoSpecifies transition effects.
[key: string]any❌ NoAllows additional custom styles.

Modified at 2026-04-16 14:14:30
Previous
InputTypeEnum
Next
init function
Built with