Closed huntbao closed 8 years ago
样式表中的样式如下:
.todo-list li .toggle:after { content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="-10 -18 100 135"><circle cx="50" cy="50" r="50" fill="none" stroke="#ededed" stroke-width="3"/></svg>') }
生成后的内联样式有误,如下所示:
.todo-list li .toggle:after { content:url(data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="-10 -18 100 135"><circle cx="50" cy="50" r="50" fill="none" stroke="#ededed" stroke-width="3"/></svg>); }
url 的值两边缺少引号所致
fixed in 1.3.8
This issue was moved to NEYouFan/nej-toolkit#2
样式表中的样式如下:
生成后的内联样式有误,如下所示:
url 的值两边缺少引号所致