谁能推荐针对不同手机屏幕尺寸的最佳方式?
我已经尝试过媒体类型,但它不能正常工作,所以想知道 javascript 方法是否适合?
我们基本上想要一个客户端解决方案,该解决方案将根据连接设备为不同的屏幕尺寸提供不同的样式表。
非常感谢收到的任何建议!
谢谢 保罗
最佳答案
A responsive CSS grid system helping desktop and mobile browsers play nicely together.
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/