常用js整理 //获取Url中的参数值 function getQueryString(name) { var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|)", "i"); var r = window.location.search.substr(1).match(reg); if (r != null) { return r[2]; } else { return &q…
我的移动端media html{font-size:10px} @media screen and (min-width:321px) and (max-width:375px){html{font-size:11px}} @media screen and (min-width:376px) and (max-width:414px){html{font-size:12px}} @media screen and (min-width:415px) and (max-width:639px){…