码迷,mamicode.com
首页 > 其他好文 > 详细

@media [记录]

时间:2017-10-13 19:08:08      阅读:121      评论:0      收藏:0      [点我收藏+]

标签:min   amp   width   follow   判断   link   and   http   sheet   

  @media screen and (max-width:1660px)

@media screen and (min-width: 960px) and (max-width: 1199px)
@media only screen and (min-width: 480px) and (max-width: 767px)

<link rel="stylesheet" media="(min-width: 641px)" href="css/maintain.css" />
<link rel="stylesheet" media="screen and (min-width:1px) and (max-width:600px)" href="phone.css" />
<link rel="stylesheet" media="screen and (条件) and (条件)" href="pc.css" />


判断手机还是pc
  http://www.jb51.net/article/48939.htm





@media [记录]

标签:min   amp   width   follow   判断   link   and   http   sheet   

原文地址:http://www.cnblogs.com/caiCheryl/p/7662332.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!