CSS :not(:last-child):after selector

前端 未结 8 1834
时光取名叫无心
时光取名叫无心 2020-12-04 05:05

I have a list of elements, which are styled like this:

8条回答
  •  忘掉有多难
    2020-12-04 05:15

    Every things seems correct. You might want to use the following css selector instead of what you used.

    ul > li:not(:last-child):after
    

提交回复
热议问题