Chrome上(或安卓机上的ionic App)当鼠标焦点在input、textarea这些元素上时,Chrome默认的会给它们加上黄色的边框。我用这个CSS,没有用。
textarea:focus { border:none; }
后来一查才发现,得这么写:
textarea:focus { outline: none; }
Chrome上(或安卓机上的ionic App)当鼠标焦点在input、textarea这些元素上时,Chrome默认的会给它们加上黄色的边框。我用这个CSS,没有用。
textarea:focus { border:none; }
后来一查才发现,得这么写:
textarea:focus { outline: none; }