问题描述
vscode中css文件设置background :url(http://xx.xx.xx/ss.png);,保存是会多出一个空格url(http: //xx.xx.xx/ss.png),是由于什么问题导致的
问题出现的平台版本及自己尝试过哪些方法
把CSS相关的插件都禁用了,没效果
相关代码
// 请把代码文本粘贴到下方(请勿用图片代替代码)
.error1 em {
display: inline-block;
width: 19px;
height: 13px;
background: url(http: //bd.huijiaoyun.com/resources/web/v3/images/upload/option/error1-1.png) center center no-repeat;
position: absolute;
left: 0;
top: -3px;
}
你期待的结果是什么?实际看到的错误信息又是什么?
保存的时候也是url(http://xx.xx.xx/ss.png);
尝试改成
url('http://...')