Skip to content

Instantly share code, notes, and snippets.

View TimGeronimoLam's full-sized avatar

Tim Geronimo Lâm TimGeronimoLam

View GitHub Profile
@TimGeronimoLam
TimGeronimoLam / dabblet.css
Last active August 29, 2015 14:01 — forked from LeaVerou/dabblet.css
Easy trapezoids with 3D transforms
/**
* Easy trapezoids with 3D transforms
*/
p {
position: relative;
display: inline-block;
padding: 1em;
margin: 2em;
}
@TimGeronimoLam
TimGeronimoLam / dabblet.css
Created April 24, 2014 00:16
Fancy comment blocks CSS implementation (SO)
/**
* Fancy comment blocks CSS implementation (SO)
* http://stackoverflow.com/questions/11573871/fancy-comment-blocks-css-implementation/11574287#11574287
*/
.comment {
width: 500px;
border-radius: 20px;
padding:20px;
margin: 5% auto;
position: relative;
@TimGeronimoLam
TimGeronimoLam / dabblet.css
Created March 5, 2014 20:41
Box with arrow
/**
* Box with arrow
*/
div {
position: relative;
margin: 100px;
width: 100px;
height: 50px;
background: #88b7d5;
@TimGeronimoLam
TimGeronimoLam / dabblet.css
Created February 2, 2014 18:18
Pure CSS Parallax
/**
* Pure CSS Parallax
*/
@import url(http://fonts.googleapis.com/css?family=Nunito);
html {
height: 100%;
overflow: hidden;
}
@TimGeronimoLam
TimGeronimoLam / dabblet.css
Created January 25, 2014 22:39
Overflow Shadow
/**
* Overflow Shadow
*/
html {
min-height: 100%;
background: white;
}
div {
@TimGeronimoLam
TimGeronimoLam / dabblet.css
Created January 25, 2014 21:23 — forked from anonymous/dabblet.css
Two-sided Flyer
/* Two-sided Flyer */
* {
padding: 0;
margin: 0;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}