Home › Forums › CSS › Make CSS animations fade out when "un-hovered" › Reply To: Make CSS animations fade out when "un-hovered"
January 14, 2014 at 12:26 am
#160359
Participant
Can you have a try of the following, May be this code will serve your purpose.
<div class="box">
Box
</div>
.box {
background: #8ec63f;
transition-property: background;
transition-duration: 5s;
transition-timing-function: linear;
width:50px;
height:50px;
text-align:center;
}
.box:hover {
background: #f7941d;
}