Skip to content

Instantly share code, notes, and snippets.

@typeoneerror
Forked from korysharp/gist:5969605
Created July 10, 2013 19:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save typeoneerror/5969691 to your computer and use it in GitHub Desktop.
Save typeoneerror/5969691 to your computer and use it in GitHub Desktop.
#home-feature .image img {
position: relative;
top: 0;
left: 0;
transition: all 0.2s ease-in-out;
-moz-transition: all 0.2s ease-in-out;
-webkit-transition: all 0.2s ease-in-out;
}
#home-feature .image:hover img {
top: -5%;
left: -5%;
width: 110%;
height: 110%;
}
<div class="image">
<img src="images/exhibition.jpg" alt="" width="326" height="260" />
<h3>upcoming exhibitions</h3>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment