Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- div:hover
- {
- -webkit-animation: myfirst 5s; /* Chrome, Safari, Opera */
- animation: myfirst 5s;
- }
- /* Chrome, Safari, Opera */
- @-webkit-keyframes myfirst {
- from {margin-top:10px;}
- to {margin-top:30px;}
- }
- /* Standard syntax */
- @keyframes myfirst {
- from {margin-top:10px;}
- to {margin-top:30px;}
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement