Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
MediaQuery适配
Search
Thinking80s
January 10, 2013
0
88
MediaQuery适配
Thinking80s
January 10, 2013
Tweet
Share
More Decks by Thinking80s
See All by Thinking80s
响应式设计案例
dengpeng
0
170
响应式设计
dengpeng
0
140
Featured
See All Featured
Adopting Sorbet at Scale
ufuk
68
8.6k
RailsConf 2023
tenderlove
4
540
Automating Front-end Workflow
addyosmani
1356
200k
Large-scale JavaScript Application Architecture
addyosmani
504
110k
What the flash - Photography Introduction
edds
64
11k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
30
6k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
221
21k
Making Projects Easy
brettharned
108
5.5k
Being A Developer After 40
akosma
57
580k
Music & Morning Musume
bryan
41
5.6k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
352
28k
What's in a price? How to price your products and services
michaelherold
237
11k
Transcript
Media Query适配尺寸
media type • IE5.5/6/7不支持在@import中使用媒体类型 • Safari/firefox只支持all,screen,print三种类型 (包括iphone) • Opera 完全支持
• Opera mini 支持handheld,未指定则使用 screen • Windows Mobile系统中的IE支持handheld,
media query • media query是CSS 3对media type的增强,事 实上我们可以将media query看成是media type+css属性判断
None
None
None
None
参考 • http://xxlovexx.cn/post/2012-05- 18/21720537 • http://pugetworks.com/blog/2011/04/css- media-queries-for-targeting-different-mobile- devices/ • http://www.javascriptkit.com/dhtmltutors/css
mediaqueries2.shtml • http://www.qianduan.net/media-type-and- media-query.html