Skip to content

Instantly share code, notes, and snippets.

@matori
Created June 23, 2015 03:21
Show Gist options
  • Save matori/5a21c67ac696e8bc81d5 to your computer and use it in GitHub Desktop.
Save matori/5a21c67ac696e8bc81d5 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
// ----
// Sass (v3.4.14)
// Compass (v1.0.3)
// ----
.test {
&-link {
$link: &;
&:hover {
color: red;
}
&::after {
content: "";
@at-root {
#{$link}:hover::after {
color: blue;
}
}
}
}
}
.test-link:hover {
color: red;
}
.test-link::after {
content: "";
}
.test-link:hover::after {
color: blue;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment