Skip to content

Instantly share code, notes, and snippets.

View yukulele's full-sized avatar

Clément P yukulele

  • France
View GitHub Profile
@yukulele
yukulele / dabblet.css
Created August 30, 2012 20:49
Menu CSS3
/**
* Menu CSS3
*/
nav{
display:block;
text-align:center;
}
nav ul{
list-style:none;
margin:0;padding:0;
@yukulele
yukulele / dabblet.css
Created September 18, 2012 13:52
CSS3 checkbox
/* CSS3 checkbox */
/* don't works on firefox :-( */
input[type=checkbox]{
position:relative;
display:inline-block;
width : 40px;
height : 40px;
font-size: 40px;
background:#009;
visibility:hidden;
@yukulele
yukulele / dabblet.css
Created September 19, 2012 10:33
pure css vertical/horizontal aligner
#my_div{
background:#aaa;
width:500px;
height:400px;
resize:both;
overflow:auto;
}
#my_div>div{
background:#444;
color:#eee;
@yukulele
yukulele / dabblet.css
Created October 24, 2012 14:23
Untitled
/**
* fill box-shadow
*/
div{
width:400px;
height:150px;
color:white;
margin:100px;
border-radius:0 0 100px;
}
@yukulele
yukulele / dabblet.css
Created November 8, 2012 14:03 — forked from LeaVerou/dabblet.css
Testing mailto forms
/**
* Testing mailto forms
*/
@yukulele
yukulele / dabblet.css
Created November 19, 2012 16:36
ex unit
/**
* ex unit
*/
p{
font-size:40px;
color:DarkBlue
}
p span{
font-size:1ex;
@yukulele
yukulele / dabblet.css
Created December 18, 2012 08:56
transition elastic
/* transition elastic */
div{
width:50px;
height:50px;
background-color:#777;
position:absolute;
left:50px;
margin-left:50px;
transition:
@yukulele
yukulele / dabblet.css
Created December 18, 2012 09:12
transition bounce
/* transition bounce */
div{
width:50px;
height:50px;
background-color:#777;
position:absolute;
left:50px;
margin-left:50px;
transition:
@yukulele
yukulele / dabblet.css
Created December 20, 2012 17:11
repeating-linear-gradient bug on chrome
/**
repeating-linear-gradient bug on chrome
*/
html {
height: 100%;
background-image:repeating-linear-gradient(45deg, rgb(231, 209, 156), rgb(231, 209, 156) 2px, transparent 2px, transparent 4px);
/* background-size: 4px 4px; */
}
@yukulele
yukulele / dabblet.css
Created February 21, 2013 09:00
motion blur
/*
motion blur
*/
html{
text-align:center;
}
div{
background:rgba(255,0,0,.1);
display:inline-block;
margin:20px;