Skip to content

Instantly share code, notes, and snippets.

@generatepress
generatepress / gist:b84c294f65a34713a6370a9488aa901a
Last active April 14, 2020 07:06
Add a cool zoom effect on hover to post images
.post-image {
position: relative;
overflow: hidden;
}
.post-image img {
max-width: 100%;
-moz-transition: all 0.3s;
-webkit-transition: all 0.3s;
transition: all 0.3s;