Created
June 2, 2022 13:25
-
-
Save arulprabakaran/17406be15d34a4eb0f02ae2b6c6e7862 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
@mixin stroke($width, $color) { | |
$shadow: (); | |
@for $i from -$width through $width { | |
$shadow: append($shadow,#{$width}px #{$i}px $color, comma); | |
$shadow: append($shadow,#{-$width}px #{$i}px $color, comma); | |
$shadow: append($shadow,#{$i}px #{$width}px $color, comma); | |
$shadow: append($shadow,#{$i}px #{-$width}px $color, comma); | |
} | |
text-shadow: $shadow; | |
} | |
.stroke { | |
@include stroke(3, var(--brand-black)); | |
} |
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
.stroke { | |
text-shadow: 3px -3px var(--brand-black), -3px -3px var(--brand-black), -3px 3px var(--brand-black), -3px -3px var(--brand-black), 3px -2px var(--brand-black), -3px -2px var(--brand-black), -2px 3px var(--brand-black), -2px -3px var(--brand-black), 3px -1px var(--brand-black), -3px -1px var(--brand-black), -1px 3px var(--brand-black), -1px -3px var(--brand-black), 3px 0px var(--brand-black), -3px 0px var(--brand-black), 0px 3px var(--brand-black), 0px -3px var(--brand-black), 3px 1px var(--brand-black), -3px 1px var(--brand-black), 1px 3px var(--brand-black), 1px -3px var(--brand-black), 3px 2px var(--brand-black), -3px 2px var(--brand-black), 2px 3px var(--brand-black), 2px -3px var(--brand-black), 3px 3px var(--brand-black), -3px 3px var(--brand-black), 3px 3px var(--brand-black), 3px -3px var(--brand-black); | |
} |
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