Created
September 28, 2022 18:50
-
-
Save kingRayhan/eada953954f7afea289e075665eb6c1c to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
This file contains hidden or 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
@mixin font-dm($size, $line-height: 1.1em){ | |
font-family: "DM Sans"; | |
font-style: normal; | |
font-weight: 500; | |
font-size: $size; | |
line-height: $line-height; | |
} | |
.title{ | |
@include font-dm(100px, 1.5rem); | |
} | |
.subtitle{ | |
@include font-dm(18px); | |
} |
This file contains hidden or 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
.title { | |
font-family: "DM Sans"; | |
font-style: normal; | |
font-weight: 500; | |
font-size: 100px; | |
line-height: 1.5rem; | |
} | |
.subtitle { | |
font-family: "DM Sans"; | |
font-style: normal; | |
font-weight: 500; | |
font-size: 18px; | |
line-height: 1.1em; | |
} |
This file contains hidden or 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