Answers for "get css of external css file using jquery"

CSS
0

jquery add external css to head

$("<link/>", {
   rel: "stylesheet",
   type: "text/css",
   href: "/styles/yourcss.css"
}).appendTo("head");
Posted by: Guest on April-06-2020
0

add css file through jquery

$('head').append('<link rel="stylesheet" href="style2.css" type="text/css" />');
Posted by: Guest on December-07-2020

Browse Popular Code Answers by Language