bulma/sass/helpers/aspect-ratio.scss

11 lines
215 B
SCSS
Raw Normal View History

2024-03-21 16:11:54 +00:00
@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};
}
}