我想问下你们平时都是如何做响应式的。
一个页面,内容量比较多。
要求适应PC和平板。
那么我是不是需要考虑
平板竖屏(768px) + 平板横屏(1024) + PC
这样的话得在原PC代码的基础上,
再另写两套,通过媒体查询。
这样代码量很大,都是这样写的还是我错了。
天蓬老师2017-04-17 14:28:04
You can use rem and js to dynamically change the root font-size. The best experience is to write more sets. Although you only write one set of code, the idea of running it everywhere is beautiful
阿神2017-04-17 14:28:04
Responsiveness is originally written in two sets, it is just modularization and sharing part of the code between the two sets; don’t think that responsiveness is just one set of changes;