Created
January 31, 2022 10:26
-
-
Save moshfeu/c8f1bb4f0f4fe1bcd193c01555693877 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.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); | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.header-m-mobile { | |
font-size: 24; | |
line-height: 32px; | |
} | |
.header-m-desktop { | |
font-size: 28; | |
line-height: 36px; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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