CSS3新增伪类
举例:
p:first-of-type
p:last-of-type
p:only-of-type
p:only-child
p:nth-child(2)
:after
:before
:not()
举例:
p:first-of-type
p:last-of-type
p:only-of-type
p:only-child
p:nth-child(2)
:after
:before
:not()
转载于:https://www.cnblogs.com/xutongbao/p/9924890.html