Created
October 27, 2012 22:56
-
-
Save fabiancarlos/3966780 to your computer and use it in GitHub Desktop.
CSS3 Tricks and Tricks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* '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