📜  sass 设置变量(如果未定义) - C++ 代码示例

📅  最后修改于: 2022-03-11 14:44:46.210000             🧑  作者: Mango

代码示例1
$content: "First content";
$content: "Second content?" !default;
$new_content: "First time reference" !default;

#main {
  content: $content;
  new-content: $new_content;
}

/* 
 * Compiles to
 * #main {
 *   content: "First content";
 *   new-content: "First time reference"; }
 */