2017-02-01 26 views

回答

1

他們被稱爲混入在薩斯。

http://sass-lang.com/guide#topic-6

這是相同的代碼怎麼會看在青菜:

@mixin discount-title() { 
    text-transform: uppercase; 
    font-weight: 600; 
    line-height: 14px; 
    margin-bottom: 10px; 
} 

.discount { 
    @include discount-title(); 
} 
+1

除非你不需要的(),也就是@混入量販標題{}東西, .discount {@包括折扣標題; } –

+0

是的,沒錯!括號是用於變量,如果你有任何:P – dommmm

相關問題