I have an inline css in my page:
<style id="abc">
.player-holder{
position:relative;
width:100%;
height:40px;
}
.icon-color{
color:#fff;
-webkit-transition: color 0.3s ease-in-out;
transition: color 0.3s ease-in-out;
}
.icon-rollover-color{
color:#fff;
-webkit-transition: color 0.3s ease-in-out;
transition: color 0.3s ease-in-out;
}
</style>
Is it possible to change some values on the fly (using jquery/javascript) so that browser takes change immediately?
Like change:
.icon-rollover-color
to
color:#333;
document.stylesheets. There are lots of examples of doing different things with it.$('.icon-rollover-color').css('color','red')