Skip to content

Instantly share code, notes, and snippets.

@FiXato
FiXato / Handy CSS Snippets.css
Last active December 11, 2015 20:59
Handy Ruby and CSS Snippets
/* Put the href of all anchors after each link. Useful for print stylesheets. */
a:after {content: attr(href);}
/* Get a scrollbar on the left side */
#nav {max-height:150px; width: 100%; overflow: auto; direction: rtl;}
#nav * {direction: ltr}
/* Nicer looking blockquotes */
blockquote {margin-left: 1em;margin-bottom: 1em; border: 1px solid #666; max-width: 800px;}
/* Including nicer quotation marks */