Skip to content

Instantly share code, notes, and snippets.

@iamvdo
iamvdo / dabblet.css
Created January 3, 2012 16:41
CSS et SVG
/*
* CSS et SVG
*/
svg{
fill: gray;
}
rect{
fill: red;
@iamvdo
iamvdo / dabblet.css
Created January 11, 2012 16:26
Untitled
.container {
font-size: small;
width: 98%;
height: 100%;
display: -ms-grid;
-ms-grid-columns: 1fr 1fr 1fr;
-ms-grid-rows: 1fr 1fr 1fr;
}
.exclusion {
@iamvdo
iamvdo / dabblet.css
Created January 15, 2012 22:58 — forked from anonymous/dabblet.css
Transitions sur pseudo-element
/**
* Transitions sur pseudo-element
*/
html{
font-family: sans-serif;
font-size:1em;
background:#eee;
}
ul{
@iamvdo
iamvdo / dabblet.css
Created January 17, 2012 22:59
text-transform:underline w/ different color
/**
* text-transform:underline w/ different color
*/
p{
text-decoration:underline;
text-decoration: red dotted underline;
}
@iamvdo
iamvdo / dabblet.css
Created January 18, 2012 17:01
Transitions sur pseudo-element
/**
* Transitions sur pseudo-element
*/
html{
font-family: sans-serif;
font-size:1.05em;
background:#eee;
}
ul{
@iamvdo
iamvdo / dabblet.css
Created January 18, 2012 23:21
Transitions sur pseudo-element
/**
* Transitions sur pseudo-element
*/
html{
font-family: sans-serif;
font-size:1.05em;
background:#eee;
}
ul{
@iamvdo
iamvdo / dabblet.css
Created January 18, 2012 23:27
New design:Transitions sur pseudo-element
/**
* New design:Transitions sur pseudo-element
*/
html{
font-family: sans-serif;
font-size:1.05em;
background:#eee;
}
@iamvdo
iamvdo / dabblet.css
Created January 19, 2012 22:20
Untitled
html{background:#eee;}
div{margin:100px;}
div:before{
content: '';
position:absolute;
z-index:5;
width: 130px;
height: 30px;
@iamvdo
iamvdo / dabblet.css
Created January 20, 2012 21:06
Grid Layout
/**
* Grid Layout
*/
body{
display:-webkit-grid;
grid-columns:200px 200px;
grid-rows:200px 200px;
}
div{width:100px;height:100px; background:red;}
@iamvdo
iamvdo / dabblet.css
Created January 23, 2012 21:38
Famille générique
/**
* Famille générique
*/
html{background:#fff;}
p{font:10em serif;}
b{padding:.4em;}
b:nth-child(2){font-family:sans-serif;}
b:nth-child(3){font-family:monospace;}
b:nth-child(4){font-family:cursive;}