Skip to content

Instantly share code, notes, and snippets.

@tylergaw
tylergaw / dabblet.css
Created July 20, 2012 03:06
RRRRRRRRRRROLL
/**
* RRRRRRRRRRROLL
*/
body {
background-color: #000;
}
html, body, ul {
padding: 0;
@tylergaw
tylergaw / dabblet.css
Created July 20, 2012 03:26
Messing with calc
/**
* Messing with calc
*/
body {
margin: 0;
}
div {
@tylergaw
tylergaw / dabblet.css
Created August 25, 2012 18:45
Flexible background image and height with vw
/**
* Flexible background image and height with vw
*/
div {
background: transparent url("https://www.djangoproject.com/m/img/logos/django-logo-positive.png") no-repeat center top;
background-size: 90%;
height: 28vw;
width: 90%;
}
@tylergaw
tylergaw / dabblet.css
Created August 25, 2012 19:11
Carthorse playin'
/**
* Carthorse playin'
*/
li:nth-child(odd):not(:last-child) {
background-color: #eee;
}
a:not([href*="http"]) {
color: hotpink;
}
@tylergaw
tylergaw / dabblet.css
Created August 27, 2012 12:26
Carthorse playin'
/**
* Carthorse playin'
*/
li:nth-child(odd):not(:last-child) {
background-color: #eee;
}
a:not([href*="http"]) {
color: hotpink;
}
@tylergaw
tylergaw / dabblet.css
Created August 27, 2012 12:33
Full height element
/**
* Full height element
*/
body {
padding: 0;
margin: 0;
}
.sidebar {
background-color: #eee;
@tylergaw
tylergaw / dabblet.css
Created August 27, 2012 15:28
Full height element
/**
* Full height element
*/
body {
padding: 0;
margin: 0;
}
.sidebar {
background-color: #eee;
@tylergaw
tylergaw / dabblet.css
Created October 1, 2012 15:57
Don't give a fuck
/**
* Don't give a fuck
*/
body {
background: transparent url('http://static.fjcdn.com/gifs/Move_fbbe7d_2459319.gif') repeat left top;
}
h1 {
animation-name: blink;
animation-duration: 0.4s;
@tylergaw
tylergaw / dabblet.css
Created October 1, 2012 19:48
Don't give a fuck
/**
* Don't give a fuck
*/
body {
background: transparent url('http://static.fjcdn.com/gifs/Move_fbbe7d_2459319.gif') repeat left top;
}
h1 {
animation-name: blink;
animation-duration: 0.4s;
@tylergaw
tylergaw / dabblet.css
Created October 1, 2012 19:52
Hard as fuck
/**
* Hard as fuck
*/
body {
background: url('http://4.bp.blogspot.com/-Q9GLh-Ppxos/UGnH5HrptUI/AAAAAAAABQ4/sLWyIjNu6F8/s1600/mexicanmafia.jpeg');
}
h1 {
color: #ff00d8;
text-align: center;