css - 在 Bootstrap 中更改类“well”的主题颜色

标签 css

<div class="col-md-4" style="margin-top:30px;"  id="subscriber_page">
      <div class="well">
        <form> 
             <h3> Subscribe Now! </h3>
              <label for="Name"> FullName </label> 
              <input type="text" class="form-control" placeholder="input fullname here" id="name" required/>
              <br />
              <label for="Name"> Address </label>
              <input type="text" class="form-control" placeholder="input full address here" id="address" required/>
              <br /> <br /> <br />
             <center><button type="submit" class="btn btn-primary">Subscribe</button></center> 

           </div>
        </form> 

    </div>   

 </div>

您好,有人可以帮我在登录页面中很好地处理 Bootstrap 主题吗?我不喜欢 bootstrap 中井的当前颜色。还有另一种方法可以改变它的颜色吗?我尝试了一些 CSS 代码,但没有用。

我已经尝试过以下方法:

.well{
  background: #000000;
}

最佳答案

你可以在颜色之后使用!important

.嗯{ 背景:#000!重要; }

关于css - 在 Bootstrap 中更改类“well”的主题颜色,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36733252/

相关文章:

css - jquery-mobile 标题右侧的两个图标彼此相邻

java - 在 Flying Saucer PDF 生成器中使用主要字体和后备字体

html - 设置包装器样式但不将样式传播到子元素的最聪明的方法是什么?

jquery - 按钮上的透明覆盖 div 触发器在 IE 10 中不起作用

php - Div 没有正确循环

php - WordPress body margin-top 问题

jquery - Scrollpane 在一个 div 上不起作用,但在另一个 div 上起作用 - 都是动态内容

google-chrome - 透明边框上的圆 Angular 在 Chrome 中使半透明度加倍

html - 在 FF、IE6 和 IE7 中工作的 HTML 中垂直和水平居中的实用解决方案

css - Wordpress 中的自定义 CSS 不起作用