0
是否可以在Stylus中使用for
週期的範圍值和單值(合併)?Stylus'for'循環:可能結合範圍和單個值?
for item in range(2, 7) 14 33
li:nth-child({item})
color red
或
for item in 2..7 14 33
li:nth-child({item})
color red
的代碼無法正常工作。只有在使用範圍或一組單值時才能使用。
謝謝! Thak很棒,我非常感謝你的幫助! – CodeGust