Re: Les petits ronds qui tournent facebook twitter | Titre du sujet : Re: Les petits ronds qui tournent facebook twitter par alain01 sur 04/07/2012 10:14:47
Si tu veux que la rotation à 360, il ne te faut que cette partie du css :
Citation :<style>
p#socialicons img{ /* 1st set of icons. Rotate them 360deg onmouseover and out */ -moz-transition: all 0.8s ease-in-out; -webkit-transition: all 0.8s ease-in-out; -o-transition: all 0.8s ease-in-out; -ms-transition: all 0.8s ease-in-out; transition: all 0.8s ease-in-out; }
p#socialicons img:hover{ -moz-transform: rotate(360deg); -webkit-transform: rotate(360deg); -o-transform: rotate(360deg); -ms-transform: rotate(360deg); transform: rotate(360deg); } </style>
et dans ton theme, tu dois ajouter ceci :
<p id="socialicons">
<a href="http://tonlien.fr/"> <img border="0" src="tonimage.png" /></a></p>
le fichier css, tu peux l'intégrer par un include dans ton theme.html
|
|