Closed RongBranovate closed 9 years ago
HI, I'm trying to add css through the js with the .css() function and i have alot of css code to use, only thing is that the format where you could write:
$('.myClass').css({"background-color":"yellow","font-weight": "bolder"});
doesn't work... i insted have to do it like this:
$('.myClass').css("background-color","yellow"); $('.myClass').css("font-weight", "bolder");
which take alot of code and time, what can i do?
Thanks in advance
As soon as i pressed the "send issue" button you implamented that :+1:
Thanks!
hehe! thanks you!
HI, I'm trying to add css through the js with the .css() function and i have alot of css code to use, only thing is that the format where you could write:
doesn't work... i insted have to do it like this:
which take alot of code and time, what can i do?
Thanks in advance