If I have 4 possible urls ending as shown:
   /users/username/bad
   /users/username/average
   /users/username/good
   /users/username/great
Is there a way to add a class to an element depending on the ending of the URL when a page loads?
So when /users/username/bad loads the element div#bad is given the css class .highlight. And when /users/username/good loads the element div#good is given the css class .highlight, so on and so forth for all 4 URLs.
If this possible through query? Thank you
 
     
    