背景图片自适应屏幕分辨率

暂无内容

/*获取可视宽度*/               
 var backWid =$(window).width() +"px";
/*获取可视高度*/	   	
		var backHei = $(window).height() +"px";
/*拼接background-size属性*/	   	
		$("body").css("backgroundSize",""+backWid+" "+backHei+"");