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.

cursor/hover effect

View previous topic View next topic Go down

Solved cursor/hover effect

Post by WHITESABBATH on October 16th 2011, 6:56 pm

Anyone know the code to get the effect shown HERE ?
cursor over the social net icons and watch them spin.


Last edited by WHITESABBATH on October 16th 2011, 7:42 pm; edited 1 time in total (Reason for editing : marked solved/remove link)

WHITESABBATH
Active Poster

Male Posts : 1198
Reputation : 119
Language : English, F-Bombs
Location : Chicago

Back to top Go down

Solved Re: cursor/hover effect

Post by Mike on October 16th 2011, 7:30 pm


Mike
Hyperactive

Male Posts : 4242
Reputation : 466
Language : English, HTML, CSS
Location : Bozeman, Montana

Back to top Go down

Solved Re: cursor/hover effect

Post by Mati on October 16th 2011, 7:31 pm

Add the HTML code to Display => Homepage => Generalities and save

The HTML

Code:
    <ul class="socialicons">
      <li><a href="#"><img src="IMAGE1" border="0"/></a></li>
      <li><a href="#"><img src="IMAGE2" border="0"/></a></li>
      <li><a href="#"><img src="IMAGE3" border="0"/></a></li>
      <li><a href="#"><img src="IMAGE4" border="0"/></a></li>
      <li><a href="#"><img src="IMAGE5" border="0"/></a></li>
    </ul>

The CSS

Code:
    ul.socialicons{
        list-style: none;
        margin:0px;
        padding:0px;
        position:fixed;
        left:0px;
        top:250px;
    }
    ul.socialicons li{
        padding-bottom:4px;
        padding-left:15px;
    }
    ul.socialicons li img{
        opacity:0.5;
        transition-duration:0.5s;
        -moz-transition-duration:0.5s;
        -webkit-transition-duration:0.5s;
        -o-transition-duration:0.5s;
    }
    ul.socialicons li img:hover{
        opacity:1.9;
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        transform: rotate(360deg);
    }

Mati
Active Poster

Posts : 1873
Reputation : 281
Language : || HTML || CSS || jQuery ||
Location : At the Gym

http://elite-gaming.forumotion.net/

Back to top Go down

Solved Re: cursor/hover effect

Post by WHITESABBATH on October 16th 2011, 7:41 pm

Thanks Gents Very Happy

WHITESABBATH
Active Poster

Male Posts : 1198
Reputation : 119
Language : English, F-Bombs
Location : Chicago

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