Skip to content

Instantly share code, notes, and snippets.

View daneden's full-sized avatar

Daniel Eden daneden

View GitHub Profile
@daneden
daneden / dabblet.css
Created February 6, 2012 19:53
HTML5 Video with flash fallback
/* HTML5 Video with flash fallback */
@daneden
daneden / dabblet.css
Created February 8, 2012 12:32
Slider
/**
* Slider
*/
* {
margin: 0;
padding: 0;
}
html {
@daneden
daneden / dabblet.css
Created February 8, 2012 15:40
Gradient Text with webkit quarantine
/**
* Gradient Text with webkit quarantine
*/
h1 {
font-size: 5em;
text-align: center;
color: #222;
font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
font-weight: 700;
@daneden
daneden / dabblet.css
Created March 2, 2012 09:07
Picture frame
/**
* Picture frame
*/
* {
margin: 0;
padding: 0;
}
html {
@daneden
daneden / dabblet.css
Created March 21, 2012 14:07
Untitled
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html {
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAVUlEQVQYGV2OgQ0AIQgDu4ZzMKBDMSBPeTEVEyQEri0AWESAlW9nLZm9F8alLFbOXlB9P6lK3krZH5JKRR6QSsNzZpJLJW+mDnk9ZyZaKEnPzaNzaB+YaWuR6GfrqQAAAABJRU5ErkJggg==),
linear-gradient(#456,#123);
min-height: 100%;
@daneden
daneden / dabblet.css
Created March 22, 2012 09:46 — forked from anonymous/dabblet.css
Transition aliasing bug
/* Transition aliasing bug */
body {
font-family: Helvetica, Helvetica Neue, Arial, sans-serif;
font-weight: 700;
}
div {
width: 100px;
height: 100px;
@daneden
daneden / dabblet.css
Created March 22, 2012 09:54
Transition aliasing bug - with font-smoothing fix
/* Transition aliasing bug - with font-smoothing fix */
body {
font-family: Helvetica, Helvetica Neue, Arial, sans-serif;
font-weight: 700;
-webkit-font-smoothing: antialiased;
}
div {
width: 100px;
@daneden
daneden / dabblet.css
Created March 22, 2012 09:56
Transition aliasing bug - with 3D transform fix
/* Transition aliasing bug - with 3D transform fix */
body {
font-family: Helvetica, Helvetica Neue, Arial, sans-serif;
font-weight: 700;
transform: translate3d(0,0,0);
}
div {
width: 100px;
@daneden
daneden / dabblet.css
Created March 26, 2012 14:05
CSS map pins
/* CSS map pins */
body {
text-align: center;
margin: 80px;
background: #eee;
}
.pin.a {
display: inline-block;
@daneden
daneden / dabblet.css
Created March 29, 2012 11:01
Gloss layer style
/* Gloss layer style */
.demo {
background: #000;
width: 200px;
height: 200px;
position: relative;
}
.gloss:after {