title: Target css:after via Jquery?
body: <p>Is it possible to target a css classname:after via jquery to alter a style dynamically?</p>
  
  <p>I have a css arrow in a slider - i'd like to change color based on percentage complete - at the moment I have - </p>
  
  <pre><code> $('.red-bar:after').css("background-color", "#1da9f5");
  </code></pre>
  
  <p>Which doesnt work!  any ideas?</p>