A premium-looking call-to-action button with a moving gradient and a subtle lift on hover — built entirely in CSS, no JavaScript required.
How it works
The trick is a wide linear-gradient with background-size: 200%. On hover we shift background-position to animate the colours, and add a small translateY plus a soft shadow for depth.
How to use it
Paste the code and replace the button text.
Swap the three gradient colours to match your palette.
Tune the transition duration for a faster or slower sweep.