Skip to content

Instantly share code, notes, and snippets.

@LukyVj
Created October 2, 2014 18:11
Show Gist options
  • Save LukyVj/5ed1074c943a856a91cc to your computer and use it in GitHub Desktop.
Save LukyVj/5ed1074c943a856a91cc to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
// ----
// Sass (v3.3.14)
// Compass (v1.0.1)
// ----
$font: 'font-a';
@mixin fontWeight($font){
@if($font == 'font-a'){
font-weight: 900;
}
@else{
font-weight: 600;
}
}
p{
@include fontWeight($font);
}
p {
font-weight: 900;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment