frankyonnetti
6/3/2016 - 6:30 PM

Use SASS variables for selectors.

SCSS - use variables for selectors #scss

// Vars - note the quotes around comma separated selectors
$a-tags: 'a, a:active, a:hover, a:visited';
$a-tags-hover: 'a:active, a:hover';

// Usage
#{$a-tags} {
	color: red;
	font-size: 1em;
	text-decoration: none;
}
#{$a-tags-hover} {
	color: blue;
}