Last active
May 10, 2016 14:36
-
-
Save onezerodigits/39780f03d1bc0cd71afd28e5edaa7b9a to your computer and use it in GitHub Desktop.
SCSS anti-patterns
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 link-colors($normal, $hover: null, $active: $hover, $visited: null, $focus: null) { | |
color: $normal; | |
&:visited { color: $visited; } | |
&:focus { color: $focus; } | |
&:hover { color: $hover; } | |
&:active { color: $active; } | |
} |
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 apple {float: left; width: auto;} |
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 opacity($opacity: 0.7) { | |
-moz-opacity: $opacity; | |
-khtml-opacity: $opacity; | |
-webkit-opacity: $opacity; | |
opacity: $opacity; | |
} |
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
$dark-header-img-p-default:#222; |
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
$font-size-28: 28px; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment