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

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

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

8条回答
  •  庸人自扰
    2020-12-04 05:30

    An example using CSS

      ul li:not(:last-child){
            border-right: 1px solid rgba(153, 151, 151, 0.75);
        }
    

提交回复
热议问题