add css jquery variable code example
Example 1: set css using jquery
$('.name').css('color':'blue');
Example 2: add css file through jquery
$('head').append('<link rel="stylesheet" href="style2.css" type="text/css" />');
$('.name').css('color':'blue');
$('head').append('<link rel="stylesheet" href="style2.css" type="text/css" />');