/* Usage: @include ir(16/9, 100); */ @mixin ir($ratio, $width: 100) { width: $width * 1%; height: 0; padding-bottom: ($width / $ratio) * 1%; }