I have this styling:
section.tipos .content > div:before {
    background: none repeat scroll 0 0 #DDDDDD;
    content: " ";
    height: 10px;
    left: 32%;
    position: absolute;
    top: -10px;
    width: 10px;
}
Which works fine,
But when some events happen I would like to change the left property for a different %
I know this could be achieved (for sure) using classnames or styles. But my boss doesn't like much the class names unless they're 100% needed.
Question is: Can I alter the css for a pseudo selector from javascript? Something like this (but that works)
$('section.tipos .content > div:before').css({ 'left' : 50+index*17});
 
     
     
    