Answer the question
In order to leave comments, you need to log in
How to make negative margin in Safari?
Good day, who will tell you how to make a negative margin in Safari?
<div class="row for_thumb_cat">
<?php if ( has_post_thumbnail()) {the_post_thumbnail('full',array("class"=>"thumb_cat"));} ?>
</div>
.for_thumb_cat {
height:140px;
overflow:hidden;
}
.for_thumb_cat img:hover {
margin-top: -190px;
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question