Created
November 27, 2015 04:27
-
-
Save dvrajan/72410e3b80b6341d47b5 to your computer and use it in GitHub Desktop.
Revisions
-
dvrajan created this gist
Nov 27, 2015 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,51 @@ <html> <head> <style> body{ counter-reset: n; } div:before { counter-increment: n; content: counter(n); } div:nth-child(3n):before { content: "fizz"; } div:nth-child(5n):before { content: "buzz"; } div:nth-child(3n):nth-child(5n):before { content: "fizzbuzz"; } </style> </head> <body> <div></div> <div></div> <div></div> <div></div> <div></div> <div></div> <div></div> <div></div> <div></div> <div></div> <div></div> <div></div> <div></div> <div></div> <div></div> <div></div> <div></div> <div></div> <div></div> <div></div> <div></div> <div></div> <div></div> </body> </html>