Skip to content

Instantly share code, notes, and snippets.

@tylergaw
tylergaw / dabblet.css
Created April 19, 2012 04:17
Centered Vertical line with CSS Gradient
/**
* Centered Vertical line with CSS Gradient
*/
div {
background: #fff;
background: linear-gradient(180deg, transparent, #353535, transparent);
background-position: 50%;
background-repeat: repeat-y;
background-size: 1px auto;
}
@tylergaw
tylergaw / dabblet.css
Created April 19, 2012 05:01
CSS Ping Pong
/**
* CSS Ping Pong
*/
body {
background-color: #ccc;
}
div {
background-color: green;
background-image: linear-gradient(top, transparent, #fff, transparent),
@tylergaw
tylergaw / dabblet.css
Created April 21, 2012 14:48
Image interpolation - Mugshots
/* Image interpolation - Mugshots */
/* Original demo: http://dabblet.com/gist/2428309 */
@keyframes mugs {
from, to { background-image: url('http://florida.arrests.org/mugs/Marion/2012/1200017953.jpg'); }
5% { background-image: url('http://florida.arrests.org/mugs/Broward/581200316.jpg'); }
10% { background-image: url('http://florida.arrests.org/mugs/Pasco/000174499.jpg'); }
15% { background-image: url('http://florida.arrests.org/mugs/Pasco/000174502.jpg'); }
20% { background-image: url('http://florida.arrests.org/mugs/Broward/561200345.jpg'); }
25% { background-image: url('http://florida.arrests.org/mugs/Marion/2012/1200017960.jpg'); }
@tylergaw
tylergaw / dabblet.css
Created June 6, 2012 13:04
CSS Filter playin'
/**
* CSS Filter playin'
*/
h1 {
color: #353535;
font-family: georgia;
font-size: 14px;
font-style: italic;
font-weight: normal;
@tylergaw
tylergaw / dabblet.css
Created June 6, 2012 13:28
CSS Filter playin'
/**
* CSS Filter playin'
*/
h1 {
color: #353535;
font-family: georgia;
font-size: 14px;
font-style: italic;
font-weight: normal;
@tylergaw
tylergaw / dabblet.css
Created June 12, 2012 19:10
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
body {
background: url('http://i.imgur.com/FwZS5.gif') repeat;
}
h1 {
animation: blink 0.5s infinite;
@tylergaw
tylergaw / dabblet.css
Created July 7, 2012 16:49
Image replacement without all the crud. Super cool
/* Image replacement without all the crud. Super cool */
/* From: http://devfiles.myopera.com/articles/1181/cssgendemo.html#imagereplacement */
/* and https://twitter.com/themaninblue/status/221516983554936832 */
/* No Firefox support yet. */
a {
content: url('https://www.readability.com/media/images/logo_chair.png');
}
@tylergaw
tylergaw / dabblet.css
Created July 13, 2012 14:59
RRRRRRRRRRROLL
/**
* RRRRRRRRRRROLL
*/
/*background: #fff url(http://24.media.tumblr.com/tumblr_m6682mxtuF1rt0g8wo1_500.gif) repeat;*/
body {
background-color: #000;
}
html, body, ul {
@tylergaw
tylergaw / dabblet.css
Created July 13, 2012 15:35
RRRRRRRRRRROLL
/**
* RRRRRRRRRRROLL
*/
/*background: #fff url(http://24.media.tumblr.com/tumblr_m6682mxtuF1rt0g8wo1_500.gif) repeat;*/
body {
background: #fff url(http://24.media.tumblr.com/tumblr_m6682mxtuF1rt0g8wo1_500.gif) repeat;
}
@tylergaw
tylergaw / dabblet.css
Created July 13, 2012 15:49
RRRRRRRRRRROLL
/**
* RRRRRRRRRRROLL
*/
body {
background-color: #000;
}
html, body, ul {
padding: 0;