twitter-bootstrap 如何在引导程序中更改面板主体背景颜色?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/25057182/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-10-21 21:14:59  来源:igfitidea点击:

How to change panel-body background-color in bootstrap?

twitter-bootstrappanel

提问by Dhamu

I am creating a webpage using twitter bootstrap, here i wanna change panel-body background-color form white to light-pink, but i haven't any idea that how it will be done? So ..... help me Thank You

我正在使用 twitter bootstrap 创建一个网页,在这里我想将面板主体背景颜色从白色更改为浅粉色,但我不知道它将如何完成?所以.....帮帮我谢谢

回答by samtodd

The CSS being as follows (as an example) should work fine. If not then you'll need to show your code.

CSS如下(作为示例)应该可以正常工作。如果没有,那么您需要显示您的代码。

.panel-body {
background:#FFCCFF;}