About this set
Call-to-action buttons for landing and pricing pages, in the combinations they are usually used. The first is a single Start your free trial button with a reassurance line underneath, No card required and Cancel any time, linked to the button with aria-describedby so screen readers read it too. The second pairs a primary Get started free with a secondary outlined Book a demo. The third pairs Upgrade to Pro, a near-black button carrying a green offer badge, with Claim your seat, a violet to pink gradient button that glows on hover. The primary buttons cast an indigo-tinted shadow, and every button lifts two pixels on hover and settles back when pressed. Use one primary per section, put the secondary beside it for visitors who are not ready, and keep the badge and glow styles for a single promotion. The outlined button’s border was darkened so it reaches 3:1 against the page. The Bootstrap version restyles .btn through the –bs-btn-* variables and uses a stock .badge.rounded-pill for the offer, and the Tailwind version uses a bg-linear gradient and hover translate utilities.
What’s included
- Primary, secondary, offer badge and gradient glow buttons
- Reassurance line linked with aria-describedby
- Tinted shadows and a two-pixel hover lift
- Outline border darkened to 3:1 against the page
- Lift and transitions off under reduced motion
Accessibility
All buttons are native buttons with visible text, and the reassurance line is attached to its button with aria-describedby. Label contrast is at least 4.6:1, including white on the pink end of the gradient. Keyboard focus draws a 2px indigo outline offset by 3px. Under prefers-reduced-motion the transitions and the hover lift are removed.
Customise it
Change the fills and shadows in .cta-pri, .cta-sec, .cta-offer and .cta-glow, and the badge colours in .cta-offer span. In Bootstrap the fills are --bs-btn-bg and --bs-btn-hover-bg on each class and the badge uses --bs-badge-*; in Tailwind edit the bg-, shadow- and bg-linear- utilities.

















