Skip to content

Instantly share code, notes, and snippets.

@kingRayhan
Created September 28, 2022 18:50
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 kingRayhan/eada953954f7afea289e075665eb6c1c to your computer and use it in GitHub Desktop.
Save kingRayhan/eada953954f7afea289e075665eb6c1c to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
@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);
}
.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;
}
{
"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