freedive/assets/css/bulma/sass/helpers/aspect-ratio.scss
2024-05-10 02:19:57 +05:30

10 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};
}
}