Utilities for defining a specific aspect ratio for an element.
Author: Mary Ditchen
Since: 0.9.0
Source: /source/patterns/utilities/image-ratios.scss#L11
<!-- image ratio 4:3 -->
<div class="u-image-4x3">4:3 ratio</div>
Author: Mary Ditchen
Since: 0.9.0
Source: /source/patterns/utilities/image-ratios.scss#L23
<!-- image ratio 2:1 -->
<div class="u-image-2x1">2:1 ratio</div>
Author: Mary Ditchen
Since: 0.9.0
Source: /source/patterns/utilities/image-ratios.scss#L35
<!-- image ratio 5:2 -->
<div class="u-image-5x2">5:2 ratio</div>
Author: Mary Ditchen
Since: 0.9.0
Source: /source/patterns/utilities/image-ratios.scss#L47
<!-- image ratio 3:1 -->
<div class="u-image-3x1">3:1 ratio</div>
Author: Mary Ditchen
Since: 0.9.0
Source: /source/patterns/utilities/image-ratios.scss#L59
<!-- image ratio square -->
<div class="u-image-square">square ratio</div>
Author: Mary Ditchen
Since: 0.9.0
Source: /source/patterns/utilities/image-ratios.scss#L71
<!-- image ratio 3:4 -->
<div class="u-image-3x4">3:4 ratio</div>
Author: Mary Ditchen
Since: 0.9.0
Source: /source/patterns/utilities/image-ratios.scss#L83
<!-- image ratio 1:2 -->
<div class="u-image-1x2">1:2 ratio</div>
Author: Mary Ditchen
Since: 0.9.0
Source: /source/patterns/utilities/image-ratios.scss#L95
<!-- image ratio 2:5 -->
<div class="u-image-2x5">2:5 ratio</div>
Author: Mary Ditchen
Since: 0.9.0
Source: /source/patterns/utilities/image-ratios.scss#L107
<!-- image ratio 1:3 -->
<div class="u-image-1x3">1:3 ratio</div>