help you fix your problem it is pretty easy just set the transition delay to 0s in normal state div > span (means when your transition return from hover state to normal state the delay should be 0 which will make the text disappear quicker) Note: I have added a transition delay property to div > span and its value is 0s and it is the key to fade the text quicker when you mouse out
<div class = "boots">B<span>oots</span></div>
<div class = "laugh">L<span>augh</span></div>
<div class = "awesome">A<span>wesome</span></div>
<div class = "happy">H<span>appy</span></div>
How to retain image round corners during transition of image hover zoom in?
may help you . As other answers pointed out, you were missing a display: inline-block, but the problem was in .extra-box-icon I have also added the transform for the image: (See the beginning of the CSS)
wish helps you I want to have an image that transitions to another image when hovered on. I have currently have working code to do this, except that the top image is automatically rescaled to a larger size initially, so when the top image transitions from opaque 1 to 0, the image looks like it has "moved" since it is a different size than the bottom image. I have confirmed that both the top and bottom images are the same dimensions. , Keep height auto as mentioned below and try