Home › Forums › Support › movement effect over the posts photos › Reply To: movement effect over the posts photos
April 12, 2016 at 10:04 am
#186241
Tom
Lead Developer
Lead Developer
Hi Rosa,
Give this CSS a try:
.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;
}
.post-image:hover img {
-moz-transform: scale(1.1);
-webkit-transform: scale(1.1);
transform: scale(1.1);
}
Adding CSS: https://generatepress.com/knowledgebase/adding-css/