0
I would like to develop something in jQuery that makes the images of that page each one inside its "square" slide from top to bottom when the mouse is placed on top of the image and back to top as soon as the mouse is taken from above.
I don’t know much about jQuery but one thing I did was put these css classes as position: relative and position: Absolute thus allowing the element to change position in relation to its Parent.
HTML code
<div class="row showtheme">
<div class="col-md-4 col-sm-4 col-xs-12">
<div><img src="../wp-content/uploads/2015/05/theme_version_01.png" alt="" /></div>
</div>
</div>
CSS
.showtheme div div {
position: relative;
overflow: hidden !important;
border: 5px solid #ccc;
border-radius: 3px;
}
.showtheme div div img {
position: absolute;
max-width: 100%;
heigtht: auto;
}