Skip to content

Instantly share code, notes, and snippets.

@Lego2012
Created September 26, 2016 20:15
Show Gist options
  • Save Lego2012/86a7645708d6656993d40fc86bfaaa98 to your computer and use it in GitHub Desktop.
Save Lego2012/86a7645708d6656993d40fc86bfaaa98 to your computer and use it in GitHub Desktop.
Background Gradient animieren
button {
background-image: linear-gradient(#FC6E51, #E9573F);
background-size: auto 200%;
background-position: 0 100%;
transition: background-position 0.5s;
}
button:hover {
background-position: 0 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment