我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

这是一种让设计适合智能手机的好方法吗? [关闭]

Is defining width for all objects (inputs, divs etc.) with percentage is a good way for making design fit for smartphones? Or what other way to do it?

I would recommend you use a less flexible layout, and instead use media queries. You can specify a set of rules in case the browser window is less than Npx width.

You should check out Twitter Bootstrap to help with this.

近期文章

  • scipy.optimize 中 minimize()函数拟合损失函数的报错问题
  • simulink real-time问题
  • 串口自动重新发送不在while之中的数据
  • python解决程序结构算法问题
  • 自学JAVA大概需要多久?都要学习什么?
  • c++11 移动语义中的资源所有权的移交是如何实现的
  • 用react-ts中使用redux和redux-thunk遇到无法dispatch异步action的问题
  • c语言,请解决,刚学不久
  • cesium清除实体方法(viewer.entities.removeAll()) 无法删除实体
  • Linux上的Minecraft服务器运行不到一小时就崩溃
  • YAML国际化
  • 如何设置按钮透明(背景不是纯色),但点击按钮还是会响应的
  • 如何按key的下标来循环生成一个新的数组
  • 关于#C++#的问题,如何解决?
  • 导入swagger后出现
  • Linux上C++函数原型声明无法正常使用
  • Vue.js是一款流行的JavaScript前端框架
  • 为什么我的都跟你们不一样
  • 不明白为什么错了编译出来没结果
  • 安装Topaz Video Enhance AI遇到的问题,求解答

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华