Voilà j'essais de faire une belle transition sur un bouton sous forme de a (lien), mais ces liens possèdent également un dégradé fait en css.
Voilà que le tout ne fonctionne pas, je ne sais pas ce que je ne fais pas de correcte.
Merci!
Modifié par sydgie (08 Nov 2013 - 20:23)
Voilà que le tout ne fonctionne pas, je ne sais pas ce que je ne fais pas de correcte.
#acceuil a{
padding:30px;
margin:0px 10px 0px 15px;
height:auto;
float:left;
color:#000;
line-height:25px;
background: rgba(244,168,113,1);
background: -moz-linear-gradient(top, rgba(244,168,113,1) 0%, rgba(242,155,94,1) 21%, rgba(236,106,25,1) 97%, rgba(236,106,25,1) 100%);
background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(244,168,113,1)), color-stop(21%, rgba(242,155,94,1)), color-stop(97%, rgba(236,106,25,1)), color-stop(100%, rgba(236,106,25,1)));
background: -webkit-linear-gradient(top, rgba(244,168,113,1) 0%, rgba(242,155,94,1) 21%, rgba(236,106,25,1) 97%, rgba(236,106,25,1) 100%);
background: -o-linear-gradient(top, rgba(244,168,113,1) 0%, rgba(242,155,94,1) 21%, rgba(236,106,25,1) 97%, rgba(236,106,25,1) 100%);
background: -ms-linear-gradient(top, rgba(244,168,113,1) 0%, rgba(242,155,94,1) 21%, rgba(236,106,25,1) 97%, rgba(236,106,25,1) 100%);
background: linear-gradient(to bottom, rgba(244,168,113,1) 0%, rgba(242,155,94,1) 21%, rgba(236,106,25,1) 97%, rgba(236,106,25,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f4a871', endColorstr='#ec6a19', GradientType=0 );
}
#acceuil a:hover {
-webkit-transition: background-color 2s linear;
-moz-transition: background-color 2s linear;
-ms-transition: background-color 2s linear;
-o-transition: background-color 2s linear;
transition: background-color 2s linear;
background: rgba(199,199,199,1);
background: -moz-linear-gradient(top, rgba(199,199,199,1) 0%, rgba(101,100,100,1) 65%, rgba(48,46,46,1) 100%);
background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(199,199,199,1)), color-stop(65%, rgba(101,100,100,1)), color-stop(100%, rgba(48,46,46,1)));
background: -webkit-linear-gradient(top, rgba(199,199,199,1) 0%, rgba(101,100,100,1) 65%, rgba(48,46,46,1) 100%);
background: -o-linear-gradient(top, rgba(199,199,199,1) 0%, rgba(101,100,100,1) 65%, rgba(48,46,46,1) 100%);
background: -ms-linear-gradient(top, rgba(199,199,199,1) 0%, rgba(101,100,100,1) 65%, rgba(48,46,46,1) 100%);
background: linear-gradient(to bottom, rgba(199,199,199,1) 0%, rgba(101,100,100,1) 65%, rgba(48,46,46,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c7c7c7', endColorstr='#302e2e', GradientType=0 );
color:#fff;
}
Merci!
Modifié par sydgie (08 Nov 2013 - 20:23)