@ThreeTree:
#gradientColor{
width:200px;
height:200px;
/*background-image:-moz-linear-gradient(top, red, green);*/
background-image:linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
background-size:200px 200px;
background-color:red;
transition:width 1s ease-in 0s;
}
.bigerWidth{
width:500px;
}
function ChangeWidth()
{
try{
gradientColor.className = "bigerWidth";
console.log(gradientColor.className);
}catch(e)
{
console.log(e.message);
}
}