Last active
November 1, 2015 07:47
-
-
Save mistergraphx/8e5d82a3b82b7f242609 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
This file contains hidden or 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
<h1 column="2">Columns + value</h1> | |
<h1 column>Columns only</h1> | |
<p column="2 +1">Columns +Offsett</p> | |
<p column="2 -1">Columns -Offsett</p> | |
<p column="2 of 4">Columns OF Context</p> | |
<p column="2/4">Columns / Context</p> | |
<p column="2 of 4 +1">Columns OF Context +Offsett</p> | |
<p column="2/4 +1">Columns / Context +Offsett</p> | |
<p column="2 of 4 -1">Columns OF Context -Offsett</p> | |
<p column="2/4 -1">Columns / Context -Offsett</p> |
This file contains hidden or 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) | |
// ---- | |
/* Column only */ | |
[column] { | |
// All elements | |
padding: 5px; | |
color: blue; | |
} | |
[column|="2"] { | |
background: yellow; | |
} | |
/* Column and context */ | |
[column~="of"], | |
[column*="/"]{ | |
background: pink; | |
} | |
/* Columns + offset All */ | |
[column*="+"] { | |
background-color: rgba(silver, .5); | |
} | |
[column*="-"] { | |
background-color: rgba(green,.5); | |
} | |
/* Columns + context + offset only */ | |
[column~="of"][column*="+"], | |
[column*="/"][column*="+"]{ | |
border:5px dotted silver; | |
} | |
[column~="of"][column*="-"], | |
[column*="/"][column*="-"]{ | |
border:5px dotted green; | |
} | |
This file contains hidden or 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
/* Column only */ | |
[column] { | |
padding: 5px; | |
color: blue; | |
} | |
[column|="2"] { | |
background: yellow; | |
} | |
/* Column and context */ | |
[column~="of"], | |
[column*="/"] { | |
background: pink; | |
} | |
/* Columns + offset All */ | |
[column*="+"] { | |
background-color: rgba(192, 192, 192, 0.5); | |
} | |
[column*="-"] { | |
background-color: rgba(0, 128, 0, 0.5); | |
} | |
/* Columns + context + offset only */ | |
[column~="of"][column*="+"], | |
[column*="/"][column*="+"] { | |
border: 5px dotted silver; | |
} | |
[column~="of"][column*="-"], | |
[column*="/"][column*="-"] { | |
border: 5px dotted green; | |
} |
This file contains hidden or 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
<h1 column="2">Columns + value</h1> | |
<h1 column>Columns only</h1> | |
<p column="2 +1">Columns +Offsett</p> | |
<p column="2 -1">Columns -Offsett</p> | |
<p column="2 of 4">Columns OF Context</p> | |
<p column="2/4">Columns / Context</p> | |
<p column="2 of 4 +1">Columns OF Context +Offsett</p> | |
<p column="2/4 +1">Columns / Context +Offsett</p> | |
<p column="2 of 4 -1">Columns OF Context -Offsett</p> | |
<p column="2/4 -1">Columns / Context -Offsett</p> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment