gpt4 book ai didi

html - 多种背景颜色相互重叠

转载 作者:行者123 更新时间:2023-11-28 03:34:25 25 4
gpt4 key购买 nike

enter image description here

任何人都可以向我解释这里发生了什么,我试图将背景颜色覆盖为 dodgerblue 但由于某种原因,白色背景颜色也在其下方呈现。

我的 css 文件中有以下代码段。

.modal-content {
color: $dropdown-text;
background-color: dodgerblue ;
opacity: 0.9;
}

我有一个 Angular 2 元素,由于某些原因我无法覆盖背景颜色。

这里是有和没有白色背景颜色的输出。 Without white background

这是另一个。 With the white background

非常感谢您提供任何帮助。

最佳答案

很简单。你使用不透明度。将不透明度:1 设置为模态内容

关于html - 多种背景颜色相互重叠,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44566426/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com