//
// @usage: Resize a div based of the image ratio of a background image
// @param: {Number} $width
// @param: {Number} $height
//

@mixin ratio($width, $height) {
  background-size: cover;
  background-repeat: no-repeat;
  width: 100%;
  height: 0;
  padding-top: ratio($width, $height);
}
