<!--移动端生效-->
<link rel="stylesheet" href="css/iphone.css" media="screen and (max-width:768px)" >
<!--ipad端生效-->
<link rel="stylesheet" href="css/ipad.css" media="screen and (max-width:992px) and (min-width:768px)">
<!--pc端生效-->
<link rel="stylesheet" href="css/pc.css" media="screen and (min-width:992px)">
用媒体查询写响应式布局
最新推荐文章于 2023-10-30 23:34:39 发布