Skip to content

Instantly share code, notes, and snippets.

@wnstn
Created December 8, 2015 16:41
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 wnstn/2517036ad7ac11c0d18c to your computer and use it in GitHub Desktop.
Save wnstn/2517036ad7ac11c0d18c to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
// ----
// libsass (v3.2.5)
// ----
$reveal: nil;
@media only screen and (min-width: 1025px) {
// tests whether or not a reveal is true, if so it changes bg attachment to fixed
@mixin testReveal($r: null) {
@if ($r != 'false') {
background-attachment: fixed;
background-size: 1060px;
}
}
@include testReveal($reveal);
}
@media only screen and (min-width: 1025px) {
background-attachment: fixed;
background-size: 1060px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment