Skip to content

Instantly share code, notes, and snippets.

iso100

Block or report user

Report or block iso100

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@iso100
iso100 / block-x-ray.scss
Created Nov 4, 2012 — forked from anonymous/block-x-ray.scss
Conditionally shades block level elements (Compass)
View block-x-ray.scss
$show-blocks: true; // Show Block Shading
// Shades all block level elements if show-blocks is true
// Requires Compass
@if $show-blocks == true {
#{elements-of-type(block)}{
background: rgba(0,0,0,0.2);
}
}
You can’t perform that action at this time.