<分区>
编辑问题以包含 desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem .这将有助于其他人回答问题。
关闭 5 年前。
<分区>
编辑问题以包含 desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem .这将有助于其他人回答问题。
关闭 5 年前。
我正在制作一个网站并使用 Bootstrap。我将背景颜色设置为蓝色,现在我无法阅读任何文本(<h1>
、<p>
等)我的<img>
都在(不受背景色影响)
这是我的CSS
body{
background: rgb(40,40,40);
}
最佳答案
我认为您应该首先检查您是否没有更改 CSS 中某处的颜色。例如:body{ color: rgb(40,40,40);
如果不是这种情况,您可以只输入:body{color: black;}
关于html - 背景颜色覆盖 Bootstrap 中的文本,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50183793/