Skip to content

Instantly share code, notes, and snippets.

@AndyNovo
Last active January 5, 2016 05:25
Show Gist options
  • Save AndyNovo/bcbffdb44fe42c6ff363 to your computer and use it in GitHub Desktop.
Save AndyNovo/bcbffdb44fe42c6ff363 to your computer and use it in GitHub Desktop.
Things you can color
/**
* Things you can color
*/
body {
column-count: 3;
column-gap: 2em;
column-rule: 2px solid salmon;
}
p {
display: inline;
}
section:nth-child(1){
margin-top: 0;
margin-bottom:3em;
background-color: lightblue;
}
section:nth-child(2){
border: .25em dashed red;
margin-top: 3em;
margin-bottom: 4em;
}
section:nth-child(3) {
outline: 2px solid black;
box-shadow: inset 0 0 6px 2px hsl(120,100%, 50%);
margin-bottom: 0;
margin-top: 4em;
}
p::first-letter {
text-decoration: overline;
text-decoration-color: red; /* not yet supported */
}
<section>
<p>This is a paragraph.</p>
</section>
<section>
<p>This is a second paragraph.</p>
</section>
<section>
<p>This is a third paragraph.</p>
</section>
// alert('Hello world!');
{"view":"separate","fontsize":"100","seethrough":"","prefixfree":"1","page":"all"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment