【发布时间】:2017-09-19 10:19:54
【问题描述】:
如何在 url 中转义变量?似乎 this 和 this 变体不起作用
@include image("R0lGODlhAQABAIAAAAUEBAAAACwAAAAAAQABAAACAkQBADs=")
@mixin image($base64)
background: url(data:image/gif;base64,#{$base64}) //this is line N
//background: url("data:image/gif;base64,#{$base64}")
(第 N 行:属性只允许在规则、指令、mixin 中使用 包括,或其他属性。)
我试过 sass 3.4.22 和 3.5.0-rc.1
【问题讨论】:
标签: sass