fluid-aspect is a Sass mixin for creating intrinsic ratios in CSS. Intrinsic ratios allow elements to fill the width of their containing block and resize on the fly while maintaining their aspect ratio.
@include fluid-aspect($ratio, [$target]);
- $ratio: An aspect ratio represented as two numbers separated by a space. Defaults to 1:1
- $target: A selector targeting the element to be made fluid. Defaults to "> :first-child"