Chrome上(或安卓机上的ionic App)当鼠标焦点在input、textarea这些元素上时,Chrome默认的会给它们加上黄色的边框。我用这个CSS,没有用。

textarea:focus {
    border:none;
}

后来一查才发现,得这么写:

textarea:focus {
    outline: none;
}

 

相关文章:

  • 2022-02-07
  • 2021-12-14
  • 2022-02-07
  • 2022-12-23
  • 2021-12-10
  • 2022-12-23
  • 2021-12-10
猜你喜欢
  • 2022-02-07
  • 2021-11-30
  • 2021-11-30
  • 2021-07-06
  • 2021-11-30
相关资源
相似解决方案