hypothetical/resources/assets/sass/functions/_px2rem.scss

3 lines
100 B
SCSS
Vendored

@function px2rem($size) {
@return ((strip-unit($size) / strip-unit($base-font-size)) * 1rem);
}