覆盖背景:在CSS中带有背景色的url
16lz
2021-01-22
I'm trying to find a way to override background: url with background-color, but for some reason the background: url is still in front. What should I do instead?
我正在寻找一种方法来覆盖背景:带有背景颜色的url,但是出于某种原因,背景:url仍然在前面。我该怎么做呢?
body {
background: url("https://www.petfinder.com/wp-content/uploads/2012/11/140272627-grooming-needs-senior-cat-632x475.jpg");
background-color: green;
}
更多相关文章
- 使用Jquery Ajax更改按钮的颜色(从外部PHP文件接收颜色)
- 在图像映射中的背景图像
- Javascript警报中文本的颜色
- 在透明背景PNG周围获得“方形”框阴影。如何在图像周围弯曲css阴
- 动态更改angularjs中静态段落的颜色
- 使用jquery在textarea中的颜色代码
- 如何更改LeafletJS中的默认加载图块颜色?
- 球体上的颜色来描绘价值
- 如何更改提示颜色?