Responsive Image

Examples

Simply call the mixin in a selector that targets the <img> element itself.

img {
  @include responsive-image;
}
//CSS Output
img {
  display: block;
  width: 100%;
}