Created
April 16, 2022 14:14
-
-
Save intellectualDarknet/a4a2441e536c2f22bccae787efaaf44a 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
@function font1($y1,$y2,$x1: 320,$x2: 768) { | |
$part1: ($y2 - $y1) / ($x2 - $x1); | |
return $part1 | |
} | |
.block { | |
padding:font1(25, 35); | |
} | |
@function font2($y1,$y2,$x1: 320,$x2: 768) { | |
@return ($y2 - $y1) / ($x2 - $x1) * 100vw + (($x2 * $y1 - $y2 * $x1) / ($x2 - $x1)); | |
} |
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
.block { | |
padding: 10px; | |
} |
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