Skip to content

Instantly share code, notes, and snippets.

@oclockvn
Created April 6, 2015 09:27
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 oclockvn/1a2d649e22b11a42cd7f to your computer and use it in GitHub Desktop.
Save oclockvn/1a2d649e22b11a42cd7f to your computer and use it in GitHub Desktop.
img {
max-width: 200px;
height: 200px;
border-radius: 100%;
-webkit-border-radius: 100%;
-moz-border-radius: 100%;
transition: transform .5s ease-in-out;
-webkit-transition: transform .5s ease-in-out;
-moz-transition: transform .5s ease-in-out;
-ms-transition: transform .5s ease-in-out;
}
img:hover {
transform:rotate(360deg);
-webkit-transform:rotate(360deg);
-ms-transform:rotate(360deg);
-moz-transform:rotate(360deg);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment