I've got a box that changes size when being hovered. However, I would like to delay the mouseout stage, so that the box keep the new size for a few seconds, before getting the old size back.
div {
width: 70px;
-webkit-transition: .5s all;
}
div:hover {
width:130px;
}
Is this possible to do WITHOUT Javascript and only CSS3? I only have to care about supporting webkit.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…