About this set
A warm cream sign-in card wrapped in a 2 pixel border that cycles through orange, pink and violet. The border is a padded wrapper whose gradient background is three times its size and slides back and forth over seven seconds, so the colours travel around the card without any extra elements or masks. Inside sit a pink Members area badge, a heading, a short line of copy, email and password fields, an orange-to-pink Log in button, and links to reset the password or create an account. Use it for membership sites, communities and creator products that want a little colour and movement on an otherwise simple form. The animation stops under prefers-reduced-motion, leaving a static gradient border. To keep white button text readable, the gradient now starts at a deeper orange (#c2410c) instead of #f97316; the badge text, muted copy and field borders were darkened to meet WCAG AA. The Bootstrap version uses .card, .badge, .form-control and a gradient .btn; the Tailwind version defines the slide keyframes in @theme.
What’s included
- Gradient border that animates with background-position only
- Static border under prefers-reduced-motion
- Button gradient deepened so white text meets 4.5:1
- Members badge, visible labels and autocomplete attributes
- Bootstrap .card and .badge restyled through CSS variables
Accessibility
Both fields have visible labels and autocomplete attributes, and all text meets WCAG AA contrast. Inputs show a pink border and ring on focus, while the button and links show a 2px pink outline on keyboard focus. The border animation, transitions and hover lift stop under prefers-reduced-motion.
Customise it
Edit the colours in the .gb-frame gradient and the 7s duration for speed; --gb-pink and --gb-line set the accent and field borders. In Tailwind change the arbitrary linear-gradient on the frame and the --animate-gb-slide value in @theme.




















