$primary: #ffcc00;
$secondary: #4b4b4b;
:root{
--data-color-primary: #{$primary};
--data-color-secondary: #{$secondary};
}
$primary: #ffcc00;
$secondary: #4b4b4b;
:root{
--data-color-primary: #{$primary};
--data-color-secondary: #{$secondary};
}
本文标题:在scss文件里定义 css 变量
本文链接:https://www.haomeiwen.com/subject/rqjgtktx.html
网友评论