Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Conditionally shades block level elements (Compass)
$show-blocks: true; // Show Block Shading
// Shades all block level elements if show-blocks is true
// Requires Compass
@if $show-blocks == true {
background: rgba(0,0,0,0.2);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment