css常用选择器
摘要:1.常用子元素选择器-选择特定子元素 :nth-of-type(n) 选择其父级下的第n个元素 例如:p:nth-child(2):last-of-type 选择其父级下的最后一个元素:nth-child(n) 选择其父级下的第n个子元素:nth-last-child(n) 选择其父级下的第n个子元
阅读全文
posted @ 2023-06-16 15:33
posted @ 2023-06-16 15:33
posted @ 2022-10-08 17:19
posted @ 2020-04-21 11:57
posted @ 2020-03-26 16:23