Skip to content

Instantly share code, notes, and snippets.

@maxfell
Created January 21, 2015 10:25
Show Gist options
  • Save maxfell/eb99db5e759d5683c1ad to your computer and use it in GitHub Desktop.
Save maxfell/eb99db5e759d5683c1ad to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
// ----
// Sass (v3.4.9)
// Compass (v1.0.1)
// Susy (v2.1.3)
// ----
@import "susy";
$susy: (
flow: ltr,
math: fluid,
output: float,
gutter-position: split,
container: auto,
container-position: center,
columns: 12,
gutters: 0.25,
column-width: false,
global-box-sizing: border-box,
last-flow: to,
debug: (
image: hide,
color: rgba(#66f, 0.25),
output: overlay,
toggle: top right,
),
use-custom: (
background-image: false,
background-options: false,
box-sizing: true,
clearfix: false,
rem: true,
)
);
.grid-example-container {
@include container;
}
.grid-example-container {
max-width: 100%;
margin-left: auto;
margin-right: auto;
}
.grid-example-container:after {
content: " ";
display: block;
clear: both;
}
head {
display: block;
position: fixed;
right: 10px;
top: 10px;
z-index: 999;
color: #333;
background: rgba(255, 255, 255, 0.25);
}
head:before {
content: "|||";
display: block;
padding: 5px 10px;
font-family: sans-serif;
font-size: 16px;
font-weight: bold;
}
head:hover {
background: rgba(255, 255, 255, 0.5);
color: red;
}
head:hover ~ .grid-example-container, head:hover ~ body .grid-example-container {
position: relative;
}
head:hover ~ .grid-example-container:before, head:hover ~ body .grid-example-container:before {
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
content: " ";
z-index: 998;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment