Skip to content

Instantly share code, notes, and snippets.

View pgherveou's full-sized avatar

PG Herveou pgherveou

View GitHub Profile
body {
margin: 100px;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.close {
display: block;
text-decoration: none;
border: 1px solid black;
width: 56px;
body {
margin: 100px;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.close {
display: block;
text-decoration: none;
border: 1px solid black;
width: 56px;
body {
margin: 100px;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.va {
display: block;
text-decoration: none;
border: 1px solid black;
width: 56px;
@pgherveou
pgherveou / dabblet.css
Created June 22, 2012 09:28 — forked from dgmid/dabblet.css
CSS text-shadows - Example 2
/**
* CSS text-shadows - Example 2
*/
/* page styles */
@font-face {
font-family: 'ChunkFiveRegular';
src: url('http://www.midwinter-dg.com/blog_demos/css-text-shadows/fonts/chunkfive-webfont.eot');
src: url('http://www.midwinter-dg.com/blog_demos/css-text-shadows/fonts/chunkfive-webfont.eot?iefix') format('eot'),
@pgherveou
pgherveou / dabblet.css
Created June 22, 2012 09:28
CSS text-shadows - Example 2
/**
* CSS text-shadows - Example 2
*/
/* page styles */
@font-face {
font-family: 'ChunkFiveRegular';
src: url('http://www.midwinter-dg.com/blog_demos/css-text-shadows/fonts/chunkfive-webfont.eot');
src: url('http://www.midwinter-dg.com/blog_demos/css-text-shadows/fonts/chunkfive-webfont.eot?iefix') format('eot'),
@pgherveou
pgherveou / dabblet.css
Created June 22, 2012 10:24 — forked from DeviaVir/dabblet.css
Vertical centering with Flexbox + margin fallback
/**
* Vertical centering with Flexbox + margin fallback
* Lea Verou & David Storey
*/
div {
width: 56px; /* needed for FF */
height: 56px;
font-size: 30px;
body {
margin: 100px;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.va {
display: table-cell;
vertical-align: middle;
text-decoration: none;
border: 1px solid black;
<input type="date" />
<input type="time" />
.circle {
border-radius: 10px;
width: 100px;
height: 100px;
background: green
}
.circle {
border-radius: 6px;
width: 100px;
height: 100px;
background: red;
}