mhpreiman
12/13/2016 - 9:25 AM

responsive elements (eg images)

/* Fill:  scale to parent size  (no white spaces around the img) */
img.responsive-fill {
  width : 100%;   /*100% of PARENT's width (scale to parent size)*/
  height: auto;
}

/* Fit:  scale to img own size */
img.responsive-shrink {
  max-width : 100%;  /*100% of IMGs original size*/
  height: auto;
}