ios 手机端 input 框上方有内阴影

admin5年前前端技术1264

解决方案1:

<!--如果 ui 样式里有边框,可以用外层盒子设置边框-->input{
    border:none;
}

解决方案2:

//在IOS上,input与textarea表单默认会有内阴影,可用下面代码去掉:
input{ -webkit-appearance: none; }


相关文章

Jquery中获取自定义标签data-id的值的几种常见方式

https://segmentfault.com/a/1190000005770912里面讲的很详尽了,在此就是总结一下做个笔记加深一下印象 。假如<div id="a&qu...

Navigate down the menu through jquery development

The core knowledge is to use jquery's hover method to achieve, The animation effe...

js与jquery自动触发a链接的方法

自动触发a链接的方法如下:1.<body >  <a  href="http://www.shengmake.net"&...

H5页面移动端双击屏幕禁止页面放大

在meta标签中加入user-scalable=no属性...

原生javascrip 复制功能

兼容chrome FIrfox IE 下载地址000.zip代码如下:<!DOCTYPE html> <html> <head> &nbs...

让TD 与div自动换行的css方法

word-wrap: break-word;  word-break: break-all; white-space: normal;...

发表评论    

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。