如何对前 10 个应用 CSS 效果 <a>
div 的标签?
这是我的方法,但我相信必须有更好的解决方案:
a:nth-child(1), a:nth-child(2), a:nth-child(3), a:nth-child(4),
a:nth-child(5), a:nth-child(6), a:nth-child(7), a:nth-child(8),
a:nth-child(9), a:nth-child(10){ color:#4faacb; }
最佳答案
关于css - 仅对 div 的前 10 个 <a> 标记应用 CSS 效果,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16279896/