Skip to content

Instantly share code, notes, and snippets.

@phil-monroe
Created October 20, 2015 00:33
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 phil-monroe/66d1d05ac85be87a06e1 to your computer and use it in GitHub Desktop.
Save phil-monroe/66d1d05ac85be87a06e1 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
%header
.name
The is the name
.actions
These are actions
.print-only
Only in Print
// ----
// libsass (v3.2.5)
// ----
@import "bourbon/bourbon";
@import "neat/neat";
header {
@include outer-container;
background: green;
.name{
@include span-columns(9);
@include background(blue);
}
.actions {
@include span-columns(3);
@include background(red);
}
.print-only {
@include display(none);
}
}
html {
box-sizing: border-box;
}
*,
*::after,
*::before {
box-sizing: inherit;
}
header {
max-width: 68em;
margin-left: auto;
margin-right: auto;
background: green;
}
header::after {
clear: both;
content: "";
display: table;
}
header .name {
float: left;
display: block;
margin-right: 2.35765%;
width: 74.41059%;
background: blue;
background: blue;
}
header .name:last-child {
margin-right: 0;
}
header .actions {
float: left;
display: block;
margin-right: 2.35765%;
width: 23.23176%;
background: red;
background: red;
}
header .actions:last-child {
margin-right: 0;
}
header .print-only {
display: none;
}
<header>
<div class='name'>
The is the name
</div>
<div class='actions'>
These are actions
</div>
<div class='print-only'>
Only in Print
</div>
</header>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment