Skip to content

Instantly share code, notes, and snippets.

View tbassetto's full-sized avatar

Thomas Bassetto tbassetto

View GitHub Profile
@tbassetto
tbassetto / dabblet.css
Created July 12, 2012 14:40 — forked from Victa/dabblet.css
Untitled
body{text-align:center;background:#eff3f6;margin:2em;}
i{display:inline-block;position:relative;margin:0 .1em;}
i::before{content:"";position:absolute;display:block;}
.folder{
width:14px;
height:10px;
background-image:linear-gradient(#a7c3d9, #709fc2);
box-shadow:inset 0 1px 0 #c6d9e7, 0 1px 0 #bbbfc3;
border-width:1px;
@tbassetto
tbassetto / dabblet.css
Created February 15, 2012 13:31 — forked from LeaVerou/dabblet.css
TV screen
/**
* TV screen
*/
html { background: white; }
.tv {
position: relative;
width: 200px;
height: 150px;
@tbassetto
tbassetto / dabblet.css
Created February 6, 2012 13:46 — forked from cahnory/dabblet.css
Centrage horizontal et vertical — universel
/**
* Centrage horizontal et vertical — universel
*/
html, body {
height: 100%;
margin: 0;
width: 100%;
}
.layout {
// 1: how could you rewrite the following to make it shorter?
if (foo) {
bar.doSomething(el);
} else {
bar.doSomethingElse(el);
}