前端 - 关于页面响应式屏幕适配的问题。
迷茫
迷茫 2017-04-17 14:26:04
0
3
538

我想问下你们平时都是如何做响应式的。
一个页面,内容量比较多。
要求适应PC和平板。

那么我是不是需要考虑
平板竖屏(768px) + 平板横屏(1024) + PC

这样的话得在原PC代码的基础上,
再另写两套,通过媒体查询。

这样代码量很大,都是这样写的还是我错了。

迷茫
迷茫

业精于勤,荒于嬉;行成于思,毁于随。

reply all(3)
Peter_Zhu

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

左手右手慢动作

If it’s responsive, you should use bootstrap

阿神

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;

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template