SoFunction
Updated on 2025-04-14

Use Mootools to dynamically add Css stylesheet code, compatible with each browser


AddCss=function(c){
var Sty=('style');
='text/css';
if(){
=c;
}else{
var Frag=();
((c));
(Frag);
}
('head')[0].appendChild(Sty);
};
AddCss('a{background-color:red;color:black;padding:20px;}');