Skip to content

Instantly share code, notes, and snippets.

@darrenshrwd
darrenshrwd / dabblet.css
Created June 14, 2012 04:22 — forked from LeaVerou/dabblet.css
Playing with background-attachment
/**
* Playing with background-attachment
*/
pre {
max-height: 150px;
border: 1px solid silver;
overflow: auto;
background: url('http://placekitten.com/200/200');
color: white;
@darrenshrwd
darrenshrwd / dabblet.css
Created June 14, 2012 04:16 — forked from kizu/dabblet.css
Scrolling shadows by @kizmarh
/* Scrolling shadows by @kizmarh */
html {
background: #FFF;
}
.scrollbox {
position: relative;
z-index: 1;