iphone - 媒体查询和 firefox/chrome

标签 iphone css media-queries

你好,我有一个被 ios 模拟器获取的媒体查询

<link rel="stylesheet" media="all and (max-device-width: 480px)" href="css/iphone.css"> 

我想做的是通过调整浏览器的大小在 firefox 或 chrome 上模拟这个,这可能吗?

最佳答案

<link type="text/css" rel="stylesheet" href="css/iphone.css" media="all and (max-width: 480px)" />

关于iphone - 媒体查询和 firefox/chrome,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10010283/

相关文章:

css - 桌面媒体查询覆盖所有屏幕尺寸

css - 将内容放在 div 中

iphone - 应用程序必须遵循 iOS 数据存储指南,/documents 中没有任何内容,但仍有一些 kb 发送到 iCloud

ios - iPhone 和 iPad 上的边到边对象

javascript - 在 JavaScript 中双向 float 列

CSS 菜单悬停在 Android 设备上不起作用

css - 二元 "table"对齐很好

css - 如何合并两个媒体查询?

iphone - 4英寸屏幕的iOS模拟器?

iphone - iOS 4.3 中 UITextView beginningOfDocument 中的问题