Skip to content

Instantly share code, notes, and snippets.

@flexbox
Last active December 16, 2015 22:39
Show Gist options
  • Save flexbox/5508084 to your computer and use it in GitHub Desktop.
Save flexbox/5508084 to your computer and use it in GitHub Desktop.
[css] - transition : background zoom image
.bg-zoom {
background-position: center center;
background-size: 100% auto;
transition: background-size 0.5s ease 0s;
}
.bg-zoom:hover {
background-size: 150% auto;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment