Created
October 20, 2015 00:33
-
-
Save phil-monroe/66d1d05ac85be87a06e1 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
This file contains 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 | |
.name | |
The is the name | |
.actions | |
These are actions | |
.print-only | |
Only in Print |
This file contains 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
// ---- | |
// 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); | |
} | |
} |
This file contains 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
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; | |
} |
This file contains 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> | |
<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