Gerillass
v2.1.0Type: Mixin
@include responsive-image();
* You can call mixins with or without the gls- namespace (e.g. @include gls-responsive-image();).
The Responsive Image Sass mixin helps you make images responsive and change the default display CSS property value from inline to block, which removes the extra space below them.
Examples
Simply call the mixin inside a selector that targets the <img> element itself.
img {
@include responsive-image;
}img {
display: block;
width: 100%;
}Result