gpt4 book ai didi

html - 在 css 中没有重复的第 n 个 child

转载 作者:太空狗 更新时间:2023-10-29 13:25:25 25 4
gpt4 key购买 nike

<分区>

我想为元素 1 到 10 设置样式,而不是这样做

&.nth-child(1) { //style } 
&.nth-child(2) { //style }
&.nth-child(3) { //style }

等等..

css 中的任何范围选择器?

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com