【发布时间】:2017-02-17 07:25:24
【问题描述】:
我正在使用具有 CSS 变量的 bulma.css,如 here 所示
// Override initial variables here
// You can add new ones or update existing ones:
$blue: #72d0eb // Update blue
$pink: #ffb3b3 // Add pink
$family-serif: "Georgia", serif // Add a serif family
// Override generated variables here
// For example, by default, the $danger color is $red and the font is sans-serif
// You can change these values:
$danger: $orange // Use the existing orange
$family-primary: $family-serif // Use the new serif family
这些需要用 Sass 修改,但我没有使用任何 CSS 预处理器,那么如何在不改变主 CSS 文件和覆盖的情况下修改变量?
【问题讨论】: