This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Des boutons "épais" crossbrowser | |
*/ | |
.button { | |
background: #EEE; | |
background-image: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,.07)); | |
border: 1px solid #DDD; | |
border-bottom: 3px solid #BBB; | |
border-radius: 3px; | |
box-shadow: inset 0 1px rgba(255,255,255,.5), inset 0 0 0 1px rgba(255,255,255,.2),0 2px 2px -1px rgba(0,0,0,.6); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Checkbox slider avec seulement CSS | |
*/ | |
input:checked ~ .checkslide, | |
input:not(:checked) ~ .checkslide { | |
background: #999; | |
border: 1px solid #555; | |
display: -moz-inline-box; display: inline-block; *display: inline; *zoom: 1; | |
height: 30px; | |
line-height: 30px; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a { | |
display: block; | |
margin-top: 6px; | |
color: #000; | |
text-decoration: none; | |
} | |
a[href$=".doc"], | |
a[href$=".xls"], | |
a[href$=".pdf"] { background: none } /* some style */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body { padding:50px; background:#2fa7ca;; } | |
h1 { width:450px; font:bold 36px sans-serif; letter-spacing:-1px; color:#000; } | |
.challenge { | |
display:block; | |
} | |
.challenge:first-line { | |
background: #FFF; | |
box-shadow: -10px 0 0 10px #FFF, 10px 0 0 10px #FFF; | |
} | |
.accepted { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body { padding:50px; background:#2fa7ca; } | |
h1 { width:450px; font:bold 36px sans-serif; letter-spacing:-1px; color:#000; } | |
.wrap { | |
box-shadow: -10px 0 0 10px #FFF, 10px 0 0 10px #FFF; | |
} | |
.inner { | |
background: #FFF; | |
position:relative; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Effets de pression | |
*/ | |
.menu-selected:after, | |
.menu-selected:before { | |
bottom: 0; | |
box-shadow: 0 0 8px #BBB; | |
content: '.'; | |
display: block; | |
position: absolute; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Effets de pression | |
*/ | |
.menu { | |
margin: 1em 0; | |
padding: 0; | |
} | |
.menu-item { | |
display: -moz-inline-box; display: inline-block; *display: inline; *zoom: 1; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Effets de pression | |
*/ | |
.menu { | |
margin: 1em 0; | |
padding: 0; | |
} | |
.menu-item { | |
display: -moz-inline-box; display: inline-block; *display: inline; *zoom: 1; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class Debug | |
{ | |
protected $dumps = array(); | |
static protected function getEmptyDump($type = 'log', $back = 1) { | |
$d = debug_backtrace(); | |
return array( | |
'type' => $type, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* HTML product pattern | |
*/ | |
background: #f06; | |
background: linear-gradient(45deg, #f06, yellow); | |
min-height: 100%; |