background-color
さまざまdiv
な要素を制御するための、ある種のifステートメントを探しています。
以下を試しましたが、コンパイルされません
@debug: true;
header {
background-color: (yellow) when (@debug = true);
#title {
background-color: (orange) when (@debug = true);
}
}
article {
background-color: (red) when (@debug = true);
}