Site icon

Keep images from jumping on hover

It always annoyed me that hovering over images on my sites often caused the text on the page to jump down.  It finally annoyed me enough to take the time to look into it (and I was doing some other CSS work on the site at the same time. :))  

Anyway, its caused by using a background hover color. As soon as I got rid of the background color for the a:hover, the images stopped jumping when I hovered over them.

Exit mobile version