Good Day
I am using the CSS transition effect on a hover selector, but the 2nd part of the transition is not smooth - When I hover over the element, it moves smoothly. When I exit hover, the element drops back non-elegantly (not smooth/timed). How do I fix it?
#login{ margin-top: -10px; margin-left: 10px; display: inline-block; } #login:hover { margin-top: 0px; -webkit-transition: margin-top 0.2s ease-out; -moz-transition: margin-top 0.2s ease-out; -o-transition: margin-top 0.2s ease-out; -ms-transition: margin-top 0.2s ease-out; } #login a{ background: #003399; font-size: 38px; color: #fff; } <div id="login" class="span1"> <a href="#">login</a> </div> NOTE: look at my JSFIDDLE to see what I mean