zoukankan      html  css  js  c++  java
  • 去除浏览器输入框等的边框(包括手机浏览器)

    在电脑上只需加入

    input{
        outline:none
    }
    input:focus{
        outline:none
    }

    而在手机浏览器上是没有效果的

    手机浏览器需要设置

    input{
        -webkit-tap-highlight-color:rgba(0,0,0,0);
    }
    input:focus{
        -webkit-tap-highlight-color:rgba(0,0,0,0);
    }
  • 相关阅读:
    bzoj1221
    hdu3377
    bzoj3930
    bzoj3976
    bzoj4237
    fzu1977
    hdu1693
    ural1519
    bzoj1264
    回答自己的提问
  • 原文地址:https://www.cnblogs.com/fenglie/p/4283210.html
Copyright © 2011-2022 走看看