2024-03-11 10:03:56 560 773
结构伪类选择器是针对 HTML 层级结构的伪类选择器。常用的结构化伪类选择器有::root选择器、:not选择器、:only-child选择器、:first-child选择器、:last-child选择器、:nth-child选择器、:nth-child(n)选择器、:nth-last-child(n)选择器、:nth-of-type(n)选择器、:empty选择器、:target选择器。_css not