Last active
December 10, 2015 19:39
-
-
Save ffoodd/4482797 to your computer and use it in GitHub Desktop.
Chorégraphie de contenu
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
/** | |
* Chorégraphie de contenu | |
*/ | |
body { | |
font: 3em Lucida Sans Unicode, Lucida Sans, sans-serif; | |
color: #333; | |
background: #F2F2E2; | |
} | |
ul { | |
margin: 1em auto; | |
width: 600px; | |
list-style: none; | |
display: table; | |
} | |
li { | |
background: white; | |
} | |
li + li { | |
background: #fafafa; | |
} | |
li + li + li { | |
background: #f6f6f6; | |
display: table-header-group; | |
} | |
li + li + li + li { | |
background: #f0f0f0; | |
display: table-footer-group; | |
} |
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
<ul> | |
<li>Premier item</li> | |
<li>Deuxième item</li> | |
<li>Troisième item</li> | |
<li>Quatrième item</li> | |
</ul> |
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
// alert('Hello world!'); |
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
{"view":"split","fontsize":"100","seethrough":"","prefixfree":"1","page":"css"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment