0

I'm trying to load CSS after the page is don from loading HTML and javascript. to fix render-blocking CSS and I tried that with jquery but I'm not finding a way to do that to be more specific I have more than one stylesheet. I find this code but I have more than one stylesheet

url = 'style.css';
if (document.createStyleSheet)
{
   document.createStyleSheet(url);
} 
else
{
    $('<link rel="stylesheet" type="text/css" href="' + url + '" 
  />').appendTo('head');   
}
Saeed Mahmoud
  • 36
  • 1
  • 7

0 Answers0