字体大小随分辨率大小变化而变化
<script type="text/javascript">
function fontSize(){
var deviceWidth=document.documentElement.clientWidth>760?760:document.documentElement.clientWidth;
document.documentElement.style.fontSize=(deviceWidth/76)+"px";
}
fontSize();
window.onresize=fontSize;
</script>