Skip to content

Instantly share code, notes, and snippets.

@fabiancarlos
Created October 27, 2012 22:56
Show Gist options
  • Save fabiancarlos/3966780 to your computer and use it in GitHub Desktop.
Save fabiancarlos/3966780 to your computer and use it in GitHub Desktop.
CSS3 Tricks and Tricks
/* 'Pulando na tela' */
@keyframes jump-bitch {
from {
-transform: scale(1.1);
z-index: 9999;
}
to {
-transform: scale(1.5);
z-index: 9999;
}
}
@-webkit-keyframes jump-bitch {
from {
-webkit-transform: scale(1.1);
z-index: 9999;
}
to {
-webkit-transform: scale(1.5);
z-index: 9999;
}
}
@-moz-keyframes jump-bitch {
from {
-moz-transform: scale(1.1);
z-index: 9999;
}
to {
-moz-transform: scale(1.5);
z-index: 9999;
}
}
@-o-keyframes jump-bitch {
from {
-o-transform: scale(1.1);
z-index: 9999;
}
to {
-o-transform: scale(1.5);
z-index: 9999;
}
}
.elemento:hover{
animation: jump-bitch 0.2s linear 0s infinite alternate;
-webkit-animation: jump-bitch 0.2s linear 0s infinite alternate;
-moz-animation: jump-bitch 0.2s linear 0s infinite alternate;
-o-animation: jump-bitch 0.2s linear 0s infinite alternate;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment