Created
December 19, 2011 16:13
-
-
Save zincplusplus/1497813 to your computer and use it in GitHub Desktop.
fibonaci
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
/** | |
* fibonaci | |
**/ | |
BODY { | |
counter-reset: nra; | |
} | |
.fibonaci:after, | |
.fibonaci div:after { | |
content: " " counter(nra); | |
counter-increment: nra;} | |
#total:after { | |
content: " " counter(nra); | |
} |
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
<div id="nr1"></div> | |
<div id="nr2"></div> | |
<div class="fibonaci"><div><div><div></div></div></div></div> | |
<div id="total">Total: </div> | |
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
{"page":"css","view":"split"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment