Skip to content

Latest commit

 

History

History
34 lines (20 loc) · 1.01 KB

README.md

File metadata and controls

34 lines (20 loc) · 1.01 KB

Images

@mixin img-responsive

Responsive images keep images from scaling beyond the width of their parents.

  • Group: Images
  • Access: public

Parameters

Name Type Description Default
$className String a CSS class name that will prefix all helpers "img-responsive"
$breakpoints Map a map of grid breakpoints config.$breakpoints

Examples

usage

@include img-responsive();

Since

  • 0.1.0 1. Set a maximum relative to the parent
  1. Scale the height according to the width, otherwise you get stretching

Authors

  • Mark Otto