Created
November 19, 2013 06:32
-
-
Save elisechant/7541170 to your computer and use it in GitHub Desktop.
SASS ternary for debugging by layout painting
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$DEBUG_LAYOUT: true; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
header { | |
// if true: paint the header background pink | |
// if false: null value removes the declaration from the compile | |
// | |
background: if($DEBUG_LAYOUT, pink, null); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment