Archived

This topic is now archived and is closed to further replies.

  • 0

This feature


Question

Posted · Report post

Hi All,

This theme has five Recent posts that move slightly to the right when hovered over. Is there a general bit of easy to activate js or plugin that can do this.

http://adammunns.com/modern/

Cheers

John

Share this post


Link to post
Share on other sites

1 answer to this question

Posted · Report post

Hi there. I've taken a look in firebug for you, the effect is actually be done by Css using a moz transition to ease the state between the standard status of the link and the hover status, which has a left-padding applied to it. I've copied the code I can see below for you. Here's a link to more on transitions http://www.w3schools.com/css3/css3_transitions.asp

Easing status applied to the standard button


#morefoot .widget-pad ul li a {

    -moz-transition: all 0.5s ease 0s; }

Code for the hover status with the padding

#morefoot .widget-pad ul li a {padding-left:10px;}

Share this post


Link to post
Share on other sites