mirror of
https://github.com/jgthms/bulma
synced 2026-03-23 05:19:35 -07:00
Init v1
This commit is contained in:
10
sass/helpers/aspect-ratio.scss
Normal file
10
sass/helpers/aspect-ratio.scss
Normal file
@@ -0,0 +1,10 @@
|
||||
@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};
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user