From 893c0ff574397a3d739002e33820fb10d51cb92f Mon Sep 17 00:00:00 2001 From: Peter Wu Date: Fri, 13 Jun 2014 11:22:24 +0200 Subject: Insert number before hashtag --- addicted-brands.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'addicted-brands.html') 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; -- cgit v1.2.1