daily pastebin goal
75%
SHARE
TWEET

Untitled

a guest Oct 21st, 2018 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // A SCSS/compass mixin for fluid images
  2. // ex: @include fluid-image(30%);
  3.  
  4. @mixin fluid-image($width) {
  5.     background-position: center;
  6.     background-repeat: no-repeat;
  7.     display: block;
  8.     padding-bottom: $width;
  9.     margin-bottom: -$width;
  10.     width: $width;
  11. }
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