Sha256: c75b08a1a4abf2bafb5ec55f7f8333a12e3fe825c797aa31146c70730433476b

Contents?: true

Size: 411 Bytes

Versions: 5

Compression:

Stored size: 411 Bytes

Contents

// Image Mixins
// - Responsive image
// - Retina image


// Responsive image
//
// Keep images from scaling beyond the width of their parents.

@mixin img-fluid {
  // Part 1: Set a maximum relative to the parent
  max-width: 100%;
  // Part 2: Override the height to auto, otherwise images will be stretched
  // when setting a width and height attribute on the img element.
  height: auto;
}

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
nsit-jekyll-theme-0.1.0 _sass/bootstrap/scss/mixins/_image.scss
raikar11-0.1.3 _sass/bootstrap/scss/mixins/_image.scss
raikar11-0.1.2 _sass/bootstrap/scss/mixins/_image.scss
raikar11-0.1.1 _sass/bootstrap/scss/mixins/_image.scss
raikar11-0.1.0 _sass/bootstrap/scss/mixins/_image.scss