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

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

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

8条回答
  •  鱼传尺愫
    2020-12-04 05:32

    Your example as written works perfectly in Chrome 11 for me. Perhaps your browser just doesn't support the :not() selector?

    You may need to use JavaScript or similar to accomplish this cross-browser. jQuery implements :not() in its selector API.

提交回复
热议问题