Hover effect fail
3 posters
Page 1 of 1
Hover effect fail
Hello again,
I tried to add a hover effect to my "nav bar" (Home - Members - Groups), but it's not really working. :o
Here's the code I used. I added it to the CSS.
I tried to add a hover effect to my "nav bar" (Home - Members - Groups), but it's not really working. :o
Here's the code I used. I added it to the CSS.
- Spoiler:
- Code:
@-webkit-keyframes ipsList_inline {
16.65% {
-webkit-transform: skew(-12deg);
transform: skew(-12deg);
}
33.3% {
-webkit-transform: skew(10deg);
transform: skew(10deg);
}
49.95% {
-webkit-transform: skew(-6deg);
transform: skew(-6deg);
}
66.6% {
-webkit-transform: skew(4deg);
transform: skew(4deg);
}
83.25% {
-webkit-transform: skew(-2deg);
transform: skew(-2deg);
}
100% {
-webkit-transform: skew(0);
transform: skew(0);
}
}
@keyframes ipsList_inline {
16.65% {
-webkit-transform: skew(-12deg);
transform: skew(-12deg);
}
33.3% {
-webkit-transform: skew(10deg);
transform: skew(10deg);
}
49.95% {
-webkit-transform: skew(-6deg);
transform: skew(-6deg);
}
66.6% {
-webkit-transform: skew(4deg);
transform: skew(4deg);
}
83.25% {
-webkit-transform: skew(-2deg);
transform: skew(-2deg);
}
100% {
-webkit-transform: skew(0);
transform: skew(0);
}
}
.ipsList_inline {
display: inline-block;
vertical-align: middle;
-webkit-transform: translateZ(0);
transform: translateZ(0);
box-shadow: 0 0 1px rgba(0, 0, 0, 0);
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
-moz-osx-font-smoothing: grayscale;
-webkit-transform-origin: 0 100%;
transform-origin: 0 100%;
}
.ipsList_inline:hover, .ipsList_inline:focus, .ipsList_inline:active {
-webkit-animation-name: ipsList_inline;
animation-name: ipsList_inline;
-webkit-animation-duration: 1s;
animation-duration: 1s;
-webkit-animation-timing-function: ease-in-out;
animation-timing-function: ease-in-out;
-webkit-animation-iteration-count: 1;
animation-iteration-count: 1;
}
- Forum link:
Last edited by Mimóza on February 13th 2016, 6:57 pm; edited 1 time in total
Re: Hover effect fail
Everything seems to checkout fine..
Just to make sure go to Admin Panel > Colors > CSS stylesheet and see if "Optimize your CSS" is set to "no". I remember that this optimization can sometimes invalidate CSS animations.
Just to make sure go to Admin Panel > Colors > CSS stylesheet and see if "Optimize your CSS" is set to "no". I remember that this optimization can sometimes invalidate CSS animations.
Re: Hover effect fail
Wow, that worked! Thank you!!!
Can I ask for a bit more help? Would it be possible to make each button separated, so for instance, when I hover over the Home button, the other two won't hover with it?
Can I ask for a bit more help? Would it be possible to make each button separated, so for instance, when I hover over the Home button, the other two won't hover with it?
Re: Hover effect fail
Oh yeah, try changing each instance of
to
so that it only applies to each individual anchor ( or link ) inside the ipsList.
|
|
Similar topics
» cursor/hover effect
» HTML hover effect
» How do I give my navbar this hover effect?
» Hover effect on Affiliate marquee
» How can I make this effect?
» HTML hover effect
» How do I give my navbar this hover effect?
» Hover effect on Affiliate marquee
» How can I make this effect?
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum