I'm trying to embed css within a HTML body using jquery. css looks like
.a .a101{fill:rgb(165,0,38)}
.a .a102{fill:rgb(215,48,39)}
I've tried the following but this is not recognized:
$(".a .a101").css({
fill : 'rgb(165,0,38)'
});
$(".a .a102").css({
fill : 'rgb(215,48,39)'
});
Could you kindly advice the correct way to do it?
-Regards
<body>tag?