The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Hover effect fail

View previous topic View next topic Go down

Solved Hover effect fail

Post by Mimóza on February 13th 2016, 1:06 pm

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.

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;
}
Anyone could help me to make it work, please? Very Happy
Forum link:


Last edited by Mimóza on February 13th 2016, 6:57 pm; edited 1 time in total

Mimóza
Forumember

Female Posts : 541
Reputation : 241
Language : :)
Location : @Graphic Balloon

http://www.graphicballoon.com/

Back to top Go down

Solved Re: Hover effect fail

Post by Ange Tuteur on February 13th 2016, 1:57 pm

Everything seems to checkout fine.. Think

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.

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2683
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Hover effect fail

Post by Mimóza on February 13th 2016, 2:04 pm

Wow, that worked! Very Happy Thank you!!! Very Happy 

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? Very Happy

Mimóza
Forumember

Female Posts : 541
Reputation : 241
Language : :)
Location : @Graphic Balloon

http://www.graphicballoon.com/

Back to top Go down

Solved Re: Hover effect fail

Post by Ange Tuteur on February 13th 2016, 5:54 pm

Oh yeah, try changing each instance of
Code:
.ipsList_inline
to
Code:
.ipsList_inline a
so that it only applies to each individual anchor ( or link ) inside the ipsList.

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2683
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Hover effect fail

Post by Mimóza on February 13th 2016, 6:56 pm

Perfect, solved! ~1~
Thank you soo much!  Bow 2

Mimóza
Forumember

Female Posts : 541
Reputation : 241
Language : :)
Location : @Graphic Balloon

http://www.graphicballoon.com/

Back to top Go down

Solved Re: Hover effect fail

Post by APE on February 13th 2016, 7:12 pm

Topic solved and archived





APE
Manager
Manager

Male Posts : 8321
Reputation : 717
Language : fluent in dork / mumbojumbo & English haha
Location : STUCK IN FORUMOTIONS SERVERS HELP ME !!!!!!

http://chatworld.forumotion.co.uk/

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum