摘要: 在项目中遇到了一个问题就是input输入框在安卓可以输入,而在ios输入不了 经过百度,调试发现,在ios中input默认是有user-select: none;属性把input输入框禁用了,将其删除或者设置为auto后input框就能输入了 -webkit-user-select: auto; - 阅读全文
posted @ 2018-11-05 19:15 mei1234! 阅读(1200) 评论(0) 推荐(0) 编辑
摘要: 总结体会:很多ios兼容性问题都是由于body设置了height:100% ios中input输入不了 在ios中margin属性不起作用 设置html body的高度为百分比时,margin-bottom在Safari无效,直接用padding代替margin 设置html body的高度为百分比 阅读全文
posted @ 2018-11-05 18:33 mei1234! 阅读(111) 评论(0) 推荐(0) 编辑