I have the stylesheet:
#progress
{
    width:100px;
    height:8px;
    background-color:#CCCCCC;
    position:relative;
}
#progress:before
{
    content:"";
    position:absolute;
    left:0;
    background-color:#0066CC;
    width:50px;
    height:8px;
}
HTML content
<div id="progress">
I want to change the property width:50px of #progress:before by jquery
$('#progress:before').css('width',60);
but it doesn't work. can any one help me. I'm not good at English, thank you!
 
     
     
    