Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Make CSS animations fade out when "un-hovered" Reply To: Make CSS animations fade out when "un-hovered"

#160359

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;
    }