Skip to content

Instantly share code, notes, and snippets.

@jboynyc
Last active December 14, 2015 14:29
Show Gist options
  • Save jboynyc/5101191 to your computer and use it in GitHub Desktop.
Save jboynyc/5101191 to your computer and use it in GitHub Desktop.
/* if you want images to drop a shadow */
img {
box-shadow: 10px 10px 5px #888;
}
/* if you want "fleurons" instead of bullets in unordered lists */
ul {
padding-left:1em;
list-style:none;
margin-left:0;
text-indent:-1em;
}
ul li:before {
content:"\2767\0020"; /* 2767 is unicode value of the fleuron; see en.wikipedia.org/wiki/List_of_Unicode_characters */
font-size:.75em;
display:block;
float:left;
width:1.33em;
}
/* if you want a dotted box around blockquotes */
blockquote {
border: 1px dotted #900;
}
/* use <div class="two-columns">…</div> for two-column text */
.two-columns {
-moz-column-count: 2; /* you have to use the "vendor prefix" because this isn't widely adopted yet */
-moz-column-gap: 20px;
-webkit-column-count: 2;
-webkit-column-gap: 20px;
column-count: 2;
column-gap: 20px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment