search

Home  >  Q&A  >  body text

前端 - date属性的input文本框在微信上会出现奇怪的边框?

已经设置了border为none,为什么还会出现这样的情况呢?
uc上没问题,qq和微信是这种情况。
还有为什么qq和微信点击元素周围会有个蓝色的框,放开就没有了

.form-group input[type="date"] {
    border: none;
}

大家讲道理大家讲道理2778 days ago615

reply all(5)I'll reply

  • 高洛峰

    高洛峰2017-04-17 11:39:38

    outline: 0;
    -webkit-appearance: none;
    was removed

    reply
    0
  • 迷茫

    迷茫2017-04-17 11:39:38

    Add outline: none;

    reply
    0
  • PHPz

    PHPz2017-04-17 11:39:38

    Try adding outline:0

    reply
    0
  • ringa_lee

    ringa_lee2017-04-17 11:39:38

    .form-group input[type="date"] { 
    border: 0; 
    outline:0;
    }

    reply
    0
  • PHP中文网

    PHP中文网2017-04-17 11:39:38

    The method is mentioned above, let me explain the reason;
    Browsers based on the webkit kernel will add a blue or yellow input to outline by default.

    reply
    0
  • Cancelreply