Shaking Logo Effect on Hover

by Oxygen - 05-04-2015, 04:45 PM
<div class="postbit-usertitle">
Posts:
646
Joined:
Feb 2015
Likes:
45
Credits:
1,158
Reputation:
35
2 Years of Service
#1
OP
Posted: 05-04-2015, 04:45 PM
add the following code in your EXTRA.css



Code:
@-webkit-keyframes spaceboots {
0% { -webkit-transform: translate(2px, 1px) rotate(0deg); }
10% { -webkit-transform: translate(-1px, -2px) rotate(-1deg); }
20% { -webkit-transform: translate(-3px, 0px) rotate(1deg); }
30% { -webkit-transform: translate(0px, 2px) rotate(0deg); }
40% { -webkit-transform: translate(1px, -1px) rotate(1deg); }
50% { -webkit-transform: translate(-1px, 2px) rotate(-1deg); }
60% { -webkit-transform: translate(-3px, 1px) rotate(0deg); }
70% { -webkit-transform: translate(2px, 1px) rotate(-1deg); }
80% { -webkit-transform: translate(-1px, -1px) rotate(1deg); }
90% { -webkit-transform: translate(2px, 2px) rotate(0deg); }
100% { -webkit-transform: translate(1px, -2px) rotate(-1deg); }
}
.shake:hover,
.shake:focus {
-webkit-animation-name: spaceboots;
-webkit-animation-duration: 0.8s;
-webkit-transform-origin:50% 50%;
-webkit-animation-iteration-count: infinite;
-webkit-animation-timing-function: linear;
}
.shake {
display:inline-block
}
Please register or login in order to unlock hidden content.
Code:
<img src="@headerLogoPath" alt="{$xenOptions.boardTitle}" />
Please register or login in order to unlock hidden content.
Code:
<img src="@headerLogoPath" alt="{$xenOptions.boardTitle}" class="shake" />

[Image: UeTXrZ5.png]
http://bit.ly/2mbbjpP
Divine
Posts:
5,555
Joined:
Feb 2015
Likes:
642
Credits:
33,245
Reputation:
151
2 Years of Service
#2
Posted: 05-04-2015, 04:48 PM
2x hidden? Man put all your text in one hidden box
Novice
Posts:
31
Joined:
Jul 2015
Likes:
0
Credits:
17
Reputation:
0
1 Year of Service
#3
Posted: 19-07-2015, 06:03 AM
(05-04-2015, 04:48 PM)Nou4r Wrote: 2x hidden? Man put all your text in one hidden box

:D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D   i agree with you
The last reply on this thread is older than a month. Please do not unnecessarily bump it.
Register an account or login to reply
Create an account
Create a free account today and start posting right away. It only takes a few seconds.
Login
Log into an existing account.
1 Guest(s)