博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
移动端常用设置(未完待续)
阅读量:4557 次
发布时间:2019-06-08

本文共 922 字,大约阅读时间需要 3 分钟。

1.meta相关

  1)

  设置user-scalable=no 就不需要设置其他的缩放了

  2)自动识别格式的调整 禁止手机自动设别电话号码,自动识别email

完整设置

2. css相关

body {
font-family: "Helvetica Neue", Helvetica, STHeiTi, sans-serif; /*使用无衬线字体*/}a, img {
-webkit-touch-callout: none; /*禁止长按链接与图片弹出菜单*/}html, body {
-webkit-user-select: none; /*禁止选中文本*/user-select: none;}button,input,optgroup,select,textarea {
-webkit-appearance:none; /*去掉webkit默认的表单样式*/}a,button,input,optgroup,select,textarea {
-webkit-tap-highlight-color:rgba(0,0,0,0); /*去掉a、input和button点击时的蓝色外边框和灰色半透明背景*/}input::-webkit-input-placeholder {
color:#ccc; /*修改webkit中input的planceholder样式*/}input:focus::-webkit-input-placeholder {
color:#f00; /*修改webkit中focus状态下input的planceholder样式*/}body {
-webkit-text-size-adjust: 100%!important; /*禁止IOS调整字体大小*/}input::-webkit-input-speech-button {
display: none; /*隐藏Android的语音输入按钮*/}

 

转载于:https://www.cnblogs.com/helloLeon/p/5656667.html

你可能感兴趣的文章
mysql数据库
查看>>
dede调用文章里的图片
查看>>
windows 窗体基本控件
查看>>
unix date 命令获取某日期的前一天
查看>>
python中set、list、dict内部实现原理
查看>>
Python3 MySQL 数据库连接
查看>>
正则\1\2和\\1的理解
查看>>
Python文件操作(一)
查看>>
Sage CRM 平衡区域树结构
查看>>
Codeforces Round #228 (Div. 1) C. Fox and Card Game 博弈
查看>>
电影票项目之Worker多线程
查看>>
APUE读书笔记-第16章-网络IPC: 套接字
查看>>
babel更新之后的 一些坑
查看>>
Python基础-Alex
查看>>
FTP权限问题解析,553 Can't open that file: Permission denied
查看>>
string.Format和cookie代码
查看>>
Django 1.11.7+django_pyodbc_azure-1.11.0.0+pyodbc 连接mssql 数据库
查看>>
NaN属性,isNaN函数
查看>>
Tomcat配置多线程和配置数据库连接池
查看>>
python解析oracle日志中的报错
查看>>