# 使“背景图片”可见，而不是应用“渐变”

**URL:** <https://meta.discourse.org/t/making-bg-image-visible-intead-of-the-gradient-being-applied/312373>\
**Category:** Development\
**Tags:** css\
**Created:** [2024年六月17日 12:35 UTC](https://meta.discourse.org/t/making-bg-image-visible-intead-of-the-gradient-being-applied/312373 "2024-06-17T12:35:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![wendellverli](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/wendellverli/32/280396_2.png) [@wendellverli](https://meta.discourse.org/u/wendellverli)\
**Post date:** [2024年六月17日 12:35 UTC](https://meta.discourse.org/t/making-bg-image-visible-intead-of-the-gradient-being-applied/312373/1 "2024-06-17T12:35:24Z")

</div>

我想进行一些更改，并且我已经有一个正在调整的 CSS 组件，但是，有一个具有相同“div 名称”的项目，但它们应用于多种样式……

我想将其更改为使“背景图像”可见，而不是应用其中一种样式的“渐变”……（主题 3 – 我希望背景颜色消失，以便图像出现）

 ![Screenshot 2024-06-17 at 7.33.06 AM](https://global.discourse-cdn.com/meta/original/4X/a/c/b/acb3b141139cadd98a97e92c0fc977301c97d672.jpeg)
