r/csshelp • • Apr 29 '16

Need help with randomized upvote messages

I'm a mod at /r/Dreamtheater and I'm currently testing the new CSS with my mod team on /r/DTCSS. I tried copying the upvote message thing from /r/OnePiece/about/stylesheet section 18.3 but it isn't working.

7 Upvotes

2 comments sorted by

1

u/gavin19 Apr 29 '16

You need all the possible outcomes, e.g where you have

.thing[data-fullname$="a"]>.midcol>.upmod:focus::after{content:"Weakness is a sin."}

That only covers one of the possible 36 (a-z and 0-9). You can see in their stylesheet they cover them all.

1

u/[deleted] Apr 30 '16

Ah that's great. It works now. Thanks =)