Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // A SCSS/compass mixin for fluid images
- // ex: @include fluid-image(30%);
- @mixin fluid-image($width) {
- background-position: center;
- background-repeat: no-repeat;
- display: block;
- padding-bottom: $width;
- margin-bottom: -$width;
- width: $width;
- }
Add Comment
Please, Sign In to add comment