首页 > 试题广场 >

常用的伪类选择器有哪些?(至少写出4个)

[问答题]
常用的伪类选择器有哪些?(至少写出4个)
推荐
:link :visited :hover :active
编辑于 2017-05-24 14:39:52 回复(0)
结构为类选择器:        -type  nth-of-type      -child  nth-child      其他::root  :not    :empty   :target
状态伪类选择器:      :focus    :checked    ::selection    :enable   :disabled   :read-only  :before  :after

发表于 2017-07-10 15:46:44 回复(0)
:first-child
:last-child
:focus
:link
:lang
:checked
:hover
:active
:visited
:nth-child(n)
:nth-of-type等
发表于 2017-08-22 10:36:44 回复(0)
:first-child
:last-child
:link
:visited
:hover
:active
:after
:before
:first-of-type
:last-of-type
:onle-of-ytpe
:checked
:enalbed
发表于 2017-08-23 16:52:23 回复(0)
:link
:visited
:hover
:active
:focus
:lang
:before
:after
:first-child
:first-line
:first-letter
发表于 2017-08-21 21:44:12 回复(1)
before after hover link
发表于 2017-06-24 10:46:19 回复(0)
伪元素和伪类是不同的 lvha即可 before和after是伪类
发表于 2017-03-13 09:16:38 回复(0)
:after,:hover,:before,:after
发表于 2017-02-07 21:10:42 回复(0)
:link,:after,:hover,:before,:after
编辑于 2016-12-22 19:42:33 回复(0)