指定 的input 选择器 input[ type="text" ] :hover { border : 1px solid #eee; } 转载于:https://www.cnblogs.com/nnf-888/p/8422214.html