设置第一个以外的元素样式:not(:first-child),设置最后一个除外的元素样式:not(:last-child)

 

代码截图:

 

 

posted @ 2019-11-04 09:46  昭z  阅读(4468)  评论(0)    收藏  举报