1.CSS伪类选择器:
section > ul em :not(:first-child) { display:none;}2.Jquery选择器$('#news_move em:gt(0)').css('display','none');3.Jquery选择器$('#news_move em[name!="news_move"]').css('display','none');本文共 251 字,大约阅读时间需要 1 分钟。
1.CSS伪类选择器:
section > ul em :not(:first-child) { display:none;}2.Jquery选择器$('#news_move em:gt(0)').css('display','none');3.Jquery选择器$('#news_move em[name!="news_move"]').css('display','none');转载于:https://www.cnblogs.com/victor5230/p/5795671.html