javascript - 移动样式表切换不同的屏幕宽度

标签 javascript jquery css mobile

谁能推荐针对不同手机屏幕尺寸的最佳方式?

我已经尝试过媒体类型,但它不能正常工作,所以想知道 javascript 方法是否适合?

我们基本上想要一个客户端解决方案,该解决方案将根据连接设备为不同的屏幕尺寸提供不同的样式表。

非常感谢收到的任何建议!

谢谢 保罗

最佳答案

看看www.columnal.com

A responsive CSS grid system helping desktop and mobile browsers play nicely together.

cssgrid.net

The 1140 grid fits perfectly into a 1280 monitor. On smaller monitors it becomes fluid and adapts to the width of the browser.

仅举两个例子。

关于javascript - 移动样式表切换不同的屏幕宽度,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7014572/

相关文章:

javascript - Microsoft JScript 运行时错误 : Object doesn't support property or method 'getElementsByTagName' in IE9

javascript - setTimeout 到 window.open 和 close,在同一个窗口上?

javascript - Javascript 是否使用动态名称解析?

css - Chrome 中的双倍尺寸复选框

html - CSS动画重叠div

javascript - 如何获取 Backbone 集合并传递给 View ?

javascript - Json 编码的 PHP 数组附加了 null

jquery - JAX-WS:如何使 SOAP 响应返回 HashMap 对象

javascript - 将异步 jQuery Dialog 更改为同步?

javascript - div 的子项是否有可能设置为指针事件 : none to have pointer events?