mirror of
https://github.com/prurigro/hypothetical.git
synced 2024-12-01 18:39:35 -05:00
8 lines
176 B
SCSS
Vendored
8 lines
176 B
SCSS
Vendored
@mixin aspect-ratio($width, $height) {
|
|
&:before {
|
|
content: "";
|
|
display: block;
|
|
width: 100%;
|
|
padding-top: ($height / $width) * 100%;
|
|
}
|
|
}
|