Skip to content

Instantly share code, notes, and snippets.

View marcolago's full-sized avatar

Marco Lago marcolago

  • Villastellone > Turin > Italy
View GitHub Profile
@marcolago
marcolago / dabblet.css
Created July 18, 2014 12:37 — forked from anonymous/dabblet.css
2nd box Fluid with 1st, 3rd and 4th fixed width
/**
* 2nd box Fluid with 1st, 3rd and 4th fixed width
*/
.box {
float: left;
box-sizing: border-box;
border: 1px solid black;
}
@marcolago
marcolago / dabblet.css
Created July 15, 2013 08:26 — forked from LeaVerou/dabblet.css
CSS Puzzle: Reverse the z-order of the <li>s without setting a separate z-index on each one in a way that works in IE9 and up
/**
* CSS Puzzle: Reverse the z-order of the <li>s without setting a separate z-index on each one in a way that works in IE9 and up
*/
li {
list-style: none;
display: inline-block;
padding: 1em 2em 1em 1em;
border: 1px solid rgba(0,0,0,.3);
border-radius: 0 999px 999px 0;