Skip to content

Instantly share code, notes, and snippets.

@10n37
Created March 3, 2022 11:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 10n37/e647d7638c46b9b482e936ea0c8a0422 to your computer and use it in GitHub Desktop.
Save 10n37/e647d7638c46b9b482e936ea0c8a0422 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
.selector {
$this: &;
&:not(:active),
&:not(#{$this}--active) {
&#{$this}_color_hover,
&:hover {
background-color: var(--color-element-hover);
}
}
}
.selector:not(:active).selector_color_hover, .selector:not(:active):hover, .selector:not(.selector--active).selector_color_hover, .selector:not(.selector--active):hover {
background-color: var(--color-element-hover);
}
{
"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