bulma/sass/helpers/aspect-ratio.scss
Jeremy Thomas 69877a652c Init v1
2024-03-21 16:11:54 +00:00

11 lines
215 B
SCSS

@use "../utilities/initial-variables" as iv;
@each $pair in iv.$aspect-ratios {
$w: nth($pair, 1);
$h: nth($pair, 2);
.#{iv.$helpers-prefix}aspect-ratio-#{$w}by#{$h} {
aspect-ratio: #{$w} / #{$h};
}
}