如何减少原色值?我写下来了,但是没用
@primary-color: red; .header {@primary-color: blue;}
您必须将代码更改为此
@primary-color: backgound-color; .header {@{primary-color}: blue;}
OR
@primary-color: red; .header {background-color: @primary-color;}