我有下面的java-script,它根据分辨率和js文件加载屏幕。但是我必须刷新浏览器才能按照分辨率重新加载js文件,否则它会保留最后一个分辨率的js文件。}
if (window.matchMedia("only screen and (min-width: 1240px) and (max-widthscreen and
我尝试下一个代码:
@media screen and (max-width: 1280px) and (max-height: 1024px) {...}@media screen and (max-width: 1366px) and (max-height: 768px) {...}@media screen and (max-width: 1400px) and (max-height: 1050px) {...}@media screen and (max-width: 1440px) and (max-heig
: 600px), only screen and (max-device-width: 1000px), all and (max-width: 1920px)" />
<link href="css/fm_styles.css" rel="stylesheet" type="text/css" media="only screen and (max-width: 600px), only screenand (max-device-w