I have a problem with the :hover
effect used in the CSS language to style an element.
It turns out that I have a button that should change color every time you mouse over it, with the effect :hover
I set a time of 3 seconds of duration that it takes to change the background color but does not take it , makes it instantaneous .
I leave the button that I have:
.btn_login{
border-color: #2AFF00;
border-style: ridge;
border-radius: 50px;
border-width: 7px;
box-shadow: -5px 10px 60px -10px white inset;
background: -webkit-linear-gradient(top, rgba(165, 255, 147,1) 0%, rgba(32, 205, 0,1) 52%, rgba(105, 255, 47,1) 100%);
width: 35%;
height: 45px;
font-size: 14pt;
color: white;
-webkit-transition-delay: 3s;
-moz-transition-duration: 3s;
-ms-transition-duration: 3s;
-o-transition-duration: 3s;
outline-style: none !important;
}
.btn_login:hover{
box-shadow: -5px 10px 60px -10px white inset;
color: white;
background: -webkit-linear-gradient(top, rgba(115, 173, 103,1) 0%, rgba(22, 125, 0,1) 52%, rgba(55, 155, 17,1) 100%);
-webkit-transition-duration: 3s;
-moz-transition-duration: 3s;
-ms-transition-duration: 3s;
-o-transition-duration: 3s;
}
<form action="#" metod="POST">
<br>
<input type="submit" class="btn_login">
</form>
Is there any way to make me take the time that I set, or instead force the browser to take it?