I try to add a delay on a transition.
I have these rules :
#mydiv{
z-index : 100;
top : 50%;
left : 50%;
-webkit-transition:width 1s, height 1s, background-color 1s ,-webkit-transform 1s, margin-left 1s;
transition:width 1s, height 1s, background-color 1s, transform 1s, margin-left 1s;
}
#mydiv:hover{
width : 700px;
margin-left : -350px;
text-align : left;
}
I know I can add "transition-delay" but I don't want a delay on hover but only when I quit the hover state.
I prefer to code it with css, not with JS ...
Any solution ?