取消chrome下input和textarea的聚焦边框:
input,button,select,textarea{outline:none}
取消chrome下textarea可拖动放大:
textarea{resize:none}
最后,写在一起,重置input和textarea的默认样式:
input,button,select,textarea{outline:none} textarea{resize:none}
input,button,select,textarea{outline:none}
textarea{resize:none}
input,button,select,textarea{outline:none} textarea{resize:none}
转载于:https://www.cnblogs.com/dingyuanxin/p/3988856.html