freedive/assets/css/bulma/sass/helpers/aspect-ratio.scss

11 lines
215 B
SCSS
Raw Normal View History

2024-05-09 22:49:57 +02: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};
}
}