Skip to content

Instantly share code, notes, and snippets.

@mturjak
Last active December 25, 2015 21:29
Show Gist options
  • Save mturjak/7042791 to your computer and use it in GitHub Desktop.
Save mturjak/7042791 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
// ----
// Sass (v3.3.0.rc.1)
// Compass (v0.13.alpha.7)
// ----
=hover-mixin($some-var)
&:hover
width: $some-var
@content
.test
height: 30px
+hover-mixin(123px)
height: 100px
.test {
height: 30px;
}
.test:hover {
width: 123px;
height: 100px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment