donation-form-amounts-width

@include donation-form-amounts-width($width);

Description

Control the width of the donation form amount buttons.

Parameters

$width ('full' | 'half' | 'grow')
The theme to be used for the buttons.

Return

(CSS) Styles to apply widths to .donation-form__amount-btns.

Examples

Make donation amount buttons full width

@include donation-form-amounts-width('full');

Make donation amount buttons grow to fill the available space

@include donation-form-amounts-width('grow');

Interactive example

$width: