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 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 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
Last active October 9, 2018 13:36
css transform make text-ugly (depending os/browser)
/**
* css transform make text-ugly (depending os/browser)
*/
div{
border:1px solid red;
padding:15px;
margin:50px;
font-size:17px;
transform-origin:0 0;
transform:rotate(10.4deg);
@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 November 8, 2012 14:03 — forked from LeaVerou/dabblet.css
Testing mailto forms
/**
* Testing mailto forms
*/
@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 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 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 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 August 29, 2012 13:04
css3 new units: vh, vw, vmin, vmax
/* css3 new units: vh, vw, vmin, vmax */
/* (webkit) */
div{
position:absolute;
top:0;
left:0;
}
#d0{
height:20vmax;