This file contains 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
/** | |
* Feuilles superposées | |
*/ | |
/* Petite mise en page */ | |
body { | |
width: 375px; | |
margin: 20px auto; | |
font-family: helvetica, arial, sans-serif; | |
color: #444; |
This file contains 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
/** | |
Bug fix for Chrome attribute selector | |
A @goetter bug report | |
*/ | |
a { | |
display: block; | |
margin-top: 6px; | |
color: #000; | |
text-decoration: none; | |
} |
This file contains 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
/* | |
* Only first letter in uppercase | |
*/ | |
/* all in lowercase */ | |
.transform li { | |
text-transform: lowercase; | |
} | |
/* first-letter in uppercase */ |
This file contains 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
/* | |
* Only first letter in uppercase | |
*/ | |
/* all in lowercase */ | |
.transform li { | |
text-transform: lowercase; | |
} | |
/* first-letter in uppercase */ |
This file contains 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
/** | |
* Feuilles superposées | |
*/ | |
/* Petite mise en page */ | |
body { | |
width: 375px; | |
margin: 20px auto; | |
font-family: helvetica, arial, sans-serif; | |
color: #444; |
This file contains 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
/** | |
* Drop Down Menu with CSS3 and Max-height animation | |
* an idea inspirated from http://jsfiddle.net/leaverou/zwvNY/ | |
* visit http://www.creativejuiz.fr/blog/ for fun. | |
*/ | |
a { | |
display:block; | |
color: #fff; | |
text-decoration:none; | |
} |
This file contains 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
/** | |
* Curved box Shadow | |
* Alternative : http://www.creativejuiz.fr/blog/tutoriels/ombre-avancees-avec-css3-et-box-shadow | |
*/ | |
div { | |
margin: 3em; | |
width: 500px; | |
height: 240px; | |
background-color: #f6f6f6; | |
/* |
This file contains 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
/** | |
* Loader : demo of pseudo-element animation | |
*/ | |
a { display:inline-block; margin-top: 3em} | |
span { | |
display:block; | |
position: relative; | |
width: 400px; |
This file contains 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
/** | |
* Input Search box-sizing | |
*/ | |
[type="search"] { | |
margin: 1em 3em; | |
-webkit-box-sizing: content-box; /* comment this line to see... */ | |
padding: .5em; | |
} |
This file contains 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
/** | |
* Animation in pseudo-element | |
*/ | |
div { | |
height: 100px; | |
background: #eee; | |
} | |
div:before { | |
content:" "; | |
display:inline-block; |