summaryrefslogtreecommitdiff
path: root/addicted-brands.html
diff options
context:
space:
mode:
authorPeter Wu <peter@lekensteyn.nl>2014-06-13 11:22:24 +0200
committerPeter Wu <peter@lekensteyn.nl>2014-06-13 11:22:24 +0200
commit893c0ff574397a3d739002e33820fb10d51cb92f (patch)
tree41e2b41d6d219e9425b9a5da114d4c40ef6ac3c6 /addicted-brands.html
parentb1262d77a3dfd57701b45a0f215314b5b3ebdd5a (diff)
downloadd3viz-master.tar.gz
Insert number before hashtagHEADmaster
Diffstat (limited to 'addicted-brands.html')
-rw-r--r--addicted-brands.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/addicted-brands.html b/addicted-brands.html
index d8f9d9c..cc7476c 100644
--- a/addicted-brands.html
+++ b/addicted-brands.html
@@ -34,8 +34,10 @@ html, body {
display: inline-block;
border-radius: 16px;
}
+body { counter-reset: ht; }
.graph .hashtag:before {
- content: '#';
+ counter-increment: ht;
+ content: counter(ht) ' #';
}
.graph .hashtag {
font-weight: bold;