How can I assign a jquery function in my css stylesheet? For eg. I have the following css
div{width: 300px; height: 200px; background-color: red;}
Is this the way?
div{width: $func_width; height: $func_height; background-color: $func_color;}
How can I assign a jquery function in my css stylesheet? For eg. I have the following css
div{width: 300px; height: 200px; background-color: red;}
Is this the way?
div{width: $func_width; height: $func_height; background-color: $func_color;}
No, You can't. Better you try jquery css
$('div').css({'width':$func_width,'height': $func_height,'background-color': $func_color});