html/css/javascript您现在的位置是:主页 > html/css/javascript >

根据浏览器尺寸使用相应的css样式表

2022-04-14 19:29:19html/css/javascript 73人已围观

<link rel="stylesheet" type="text/css" media="screen and (max-width:1366px)" href="/style/css/aaaa.css" />
<link rel="stylesheet" type="text/css" media="screen and (max-width:1200px)" href="/style/css/bbbb.css" />
<link rel="stylesheet" type="text/css" media="screen and (max-width:650px)" href="/style/css/cccc.css" />