Created
May 29, 2021 11:32
-
-
Save shahab570/ef41137f5ae6be49e561ba22c2c66391 to your computer and use it in GitHub Desktop.
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 links ($link, $visited, $hover, $active) { | |
& { | |
color: $link; | |
&:visited { | |
color: $visited; | |
} | |
&:hover { | |
color: $hover; | |
} | |
&:active, &:focus { | |
color: $active; | |
} | |
} | |
} | |
a { | |
@include links(orange, blue, yellow, teal); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment