Idiomas compatibles con la página actual:
简体中文CSS笔记:使用滤镜方式降低背景图片颜色
Tailwind
# CSS# Note
Número de palabras 518
Tiempo aproximado 2 minutes
jue, 5 de febrero de 2026, 11:45:00 UTC
主要依托于bg-blend-multiply属性结合背景色实现,参考文档:Tailwind CSS 文档 - 背景混合模式
demo.vue
<div
:class="['bg-cover bg-center bg-black/60 bg-blend-multiply']"
:style="{ backgroundImage: `url(/xxx.png)` }"
>
</div>