Published: 22 Jul 2018 › Updated: 22 Jul 2018

解决网站开发中网页在手机上显示不全的问题
最近在使用Flask开发一个网站,发现在电脑上显示没有问题,但是在手机上显示不好,按钮变得很扁,按钮的名字都显示不出来了,经过搜索,找到了解决办法如下。
参考帖子:《html如何适应手机?》
还有一篇描述更详细的帖子:移动前端开发之viewport的深入理解
经过测试,只需要在<header>中增加下面的元素即可:
<meta name="viewport" content="initial-scale=1">
Leave 解决网站开发中网页在手机上显示不全的问题 to:
Read more #cn posts
Best Posts From brysj22952
We have not curated any of brysj22952's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.
More Posts From brysj22952
- 我为什么想自己实现语法解析器
- PyH源码解析(6)——完结篇
- PyH源码解析(5)
- PyH源码解析(4)
- PyH源码解析(3)
- PyH源码解析(2)
- PyH源码解析(1)
- Python语言PyH模块生成HTML文档使用说明
- linux屏蔽ctrl+s键的方法
- LXML官方文档翻译
- 使用Flask和React构建博客系统(1)
- 解决网站开发中网页在手机上显示不全的问题
- 2018.6.25 My microblog 微博
- MyBrain项目(1)
- 2018.3.20 My microblog 微博
- click的命令自动补齐功能介绍
- python命令行神器click介绍
- Linux find命令使用心得(Linux find cmd use experience)
- Piston工具翻译-Steem网络的瑞士军刀(2)
- Piston工具翻译-Steem网络的瑞士军刀(1)