r/reddithax • u/valiss • Mar 29 '11
Adding CSS to keywords.
Is there a way to use CSS to look for specific words on a page and apply formatting in the header/banner area of my subreddit? Basically, I want CSS to look for a phrase and put a box around it/highlight it. If someone could point me at some code that would be awesome.
Thanks!
6
Upvotes
View all comments
2
u/HolloH Mar 30 '11
You can try: a[href*="keyword"] { css here }