如上,鼠标移上去,边框红色,但是禁用的元素,也是这样,我们可以利用:enabled 来实现仅可用元素响应。 input:enabled:hover { border:1px solid red; }.
確定! 回上一頁