The inherit keyword can be used in any CSS property and it always corresponds to the computed value of the parent element (in pseudo-elements that is the element they are generated on).
inherit 可以用在任何CSS 属性中,而且它总是绑定到父元素的计算值(对伪元素来说,则会去取生成该伪元素的宿主元素)。
Rules that apply the: hover pseudo-selector to non-link elements.
对非链接元素应用:hover伪选择器的规则。
Designated by a colon preceding the name, pseudo-classes are independent of particular elements and instead look at what's happening within the document.
伪类的表示方法是在名称前面加一个冒号。伪类与特定元素无关,而是根据文档中发生的情况应用样式。
应用推荐