Emlog add jitter to the effects tutorial website images

First of all to find a place to modify the code in your template, the main CSS or placed at

EMLOG template location: / content / templates / your template name /

find style.css the following code into the bottom of the can!

    1. img:hover {
    2. -webkit-animation:sucaijiayuan 1s .1s ease both;
    3. -moz-animation:tada 1s .1s ease both;
    4. }
    5. @-webkit-keyframes sucaijiayuan {
    6. 0% {
    7. -webkit-transform:scale(1)
    8. }
    9. 10%, 20% {
    10. -webkit-transform:scale(0.8) rotate(-2deg)
    11. }
    12. 30%, 50%, 70%, 90% {
    13. -webkit-transform:scale(1.1) rotate(2deg)
    14. }
    15. 40%, 60%, 80% {
    16. -webkit-transform:scale(1.1) rotate(-2deg)
    17. }
    18. 100% {
    19. -webkit-transform:scale(1) rotate(0)
    20. }

Guess you like

Origin www.cnblogs.com/pzg123/p/12004645.html