需要在 bootstrap 中为我的文本区域字段提供背景颜色 这是文本区域字段
<div class="form-group">
<div class="col-xs-12">
<textarea class="form-control" id="exampleTextarea" rows="6" placeholder="Message"></textarea>
</div>
</div>
最佳答案
添加这个类。
textarea#exampleTextarea {
background: gray;
}
或者您也可以使用它。
#exampleTextarea {
background: gray;
}
关于css - 如何在 bootstrap 中为 textarea 字段提供背景颜色,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45250941/