first-child伪类时一定要保证前面没有兄弟节点,last-child要保证后面没有兄弟节点
CSS: :last-child 与 :first-child的坑
最新推荐文章于 2021-08-19 11:36:20 发布
first-child伪类时一定要保证前面没有兄弟节点,last-child要保证后面没有兄弟节点