Skip to main content

CSS custom properties

Font size

The widget inherits font-size from its placement context. Text scales with the surrounding page rather than using a fixed size. There is no --resurs-checkout-* property for size; control it with the native CSS font-size property on the component.
Primary content (payment option names, selling points, and links) renders at that size. The collapsed title is 2px larger and fine print is 2px smaller. In full control, set font-size on the group to match your own subtitle (the component can’t read it; it’s a sibling in your DOM).

Animation

The widget animates its expand and collapse using a CSS Grid row height transition. If your checkout already animates other payment methods, you can match the timing so all cards feel consistent.
Set --resurs-checkout-transition-duration: 0s to disable animation entirely.
See Accessibility for keyboard navigation, ARIA roles, reduced motion, and contrast guidance.