0
好日子全部宣佈。我使用手寫筆,並具有以下CSS結構:@extend類
main.styl
@import '_file1'
.myClass {
color: blue
}
file1.styl
.left {
@extend .myClass
background: white
}
因爲.myClass是@extend之後定義這將返回一個錯誤。有沒有辦法正確使用它的方式?
謝謝
爲什麼不在'.myClass'之後導入文件? – blonfu