Skip to content

Commit de0019a

Browse files
author
zhangyonghong
committed
add store
1 parent ae9db3d commit de0019a

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

css.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,4 +266,18 @@ user-select:none;
266266
</div>
267267
```
268268

269-
269+
- 手机多终端适配 media query[web app iphone4 iphone5 iphone6 响应式布局 适配代码](http://club.zoomla.cn/PItem?id=12594)
270+
```css
271+
@media (device-height:480px) and (-webkit-min-device-pixel-ratio:2){/* 兼容iphone4/4s */
272+
.class{}
273+
}
274+
@media (device-height:568px) and (-webkit-min-device-pixel-ratio:2){/* 兼容iphone5 */
275+
.class{}
276+
}
277+
@media (device-height:667px) and (-webkit-min-device-pixel-ratio:2){/* 兼容iphone6 */
278+
.class{}
279+
}
280+
@media (device-height:736px) and (-webkit-min-device-pixel-ratio:2){/* 兼容iphone6 Plus */
281+
.class{}
282+
}
283+
```

0 commit comments

Comments
 (0)