Skip to content

Instantly share code, notes, and snippets.

@moshfeu
Created January 31, 2022 10:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save moshfeu/c8f1bb4f0f4fe1bcd193c01555693877 to your computer and use it in GitHub Desktop.
Save moshfeu/c8f1bb4f0f4fe1bcd193c01555693877 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
.header-m-mobile {
$font-size: 24;
$line-height: 1.33;
font-size: $font-size;
line-height: #{round($font-size * $line-height)}px;
}
@mixin text($font-size, $line-height) {
font-size: $font-size;
line-height: #{round($font-size * $line-height)}px;
}
.header-m-desktop {
@include text(28, 1.3);
}
.header-m-mobile {
font-size: 24;
line-height: 32px;
}
.header-m-desktop {
font-size: 28;
line-height: 36px;
}
{
"sass": {
"compiler": "dart-sass/1.32.12",
"extensions": {},
"syntax": "SCSS",
"outputStyle": "expanded"
},
"autoprefixer": false
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment