浏览器中的速记背景CSS属性失败

浏览器中的速记背景CSS属性失败,css,Css,我有以下css/sass代码: lc{ background-image: url(../img/header.png) ; background-position: center center; background-size: cover; background-repeat: no-repeat; } 我试着用速记法把它简化为: background-image: url(/img/backgrounds/header.png) no-repeat center / c

我有以下css/sass代码:

lc{
  background-image: url(../img/header.png) ;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat; 
}
我试着用速记法把它简化为:

background-image: url(/img/backgrounds/header.png) no-repeat center / cover;

但是速记失败了,浏览器无法识别(例如:Firefox)

不要
背景图像
正确
背景

 background: url(/img/backgrounds/header.png) no-repeat center / cover;

是否有类似于
的标记?此外,速记是
background
,而不是
background image
。请使用
background
作为速记属性。让我们将其作为输入关闭<代码>:)我们不要添加答案。让我们以打字错误结束此操作。