2014-02-14 39 views

回答

2

你應該改變&li,請看下面的代碼:

@for $i from 1 through 10 { 
    li:nth-child(#{$i}) { 
    animation-delay:(#{$i*0.1s}); 
    } 
} 

像這樣的標記:

<li></li> 
<li></li> 
... 

「基地級規則不能包含家長選擇引用字符ACTER '&'「。

+0

似乎工作分開形式我有一個動畫延遲數字和's'值之間的空間 – 2ne

+0

我把它固定在封閉的支架內 – 2ne

+0

是的我只是意識到這一點,好抓! –