一、让微信内置浏览器(x5)支持 flex

.item-flex {
  display: -webkit-box;
  -webkit-box-pack: center;
  -webkit-box-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

二、去掉输入框默认的边框

input, textarea {
  outline: none;
}

三、去掉数字输入框里默认的按钮

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  margin: 0;
}

 

相关文章:

  • 2021-04-01
  • 2021-09-18
  • 2021-10-14
  • 2022-12-23
  • 2021-12-02
  • 2021-08-15
猜你喜欢
  • 2022-01-15
  • 2022-12-23
  • 2021-11-30
  • 2021-11-02
  • 2021-04-14
相关资源
相似解决方案