SHARE
TWEET

Untitled

phpface May 30th, 2020 759 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. .item-img {
  2.     padding-bottom: 56.25%;
  3.     margin-bottom: 10px;
  4.     position: relative;
  5.     display: block;
  6.     overflow: hidden;
  7.     width: 100%;
  8. }
  9.  
  10. .item-img img{
  11.     position: absolute;
  12.     top: 0;
  13.     left: 0;
  14.     width: 100%;
  15.     height: 100%;
  16.     vertical-align: middle;
  17. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top