根据屏幕大小 引用不同的css 实现响应式

2020-06-22  本文已影响0人  PharkiLL
<link rel="stylesheet" media="screen and (min-width:600px)" href="../css/home.css"> |
<!-- Extra small devices (phones, 600px and down) --> |
<link rel="stylesheet" media="screen and (max-width:600px)" href="../css/homeMobile.css"> |

上一篇 下一篇

猜你喜欢

热点阅读