How to set the background color in the textarea field in bootstrap

you need to specify the background color in the "My text area" field in bootstrap this is the text area field

<div class="form-group">
    <div class="col-xs-12">
     <textarea class="form-control" id="exampleTextarea" rows="6"  placeholder="Message"></textarea>
    </div>
   </div>
+4
source share
3 answers

Add this class.

textarea#exampleTextarea {
    background: gray;
}

Or you can also use this.

#exampleTextarea {
    background: gray;
}
+5
source

try the following:

textarea.form-control {
color: #63AEEB
}
+1
source

you can try it

textarea#exampleTextarea{ 
    background-color:gray !important;
}
0
source

Source: https://habr.com/ru/post/1682010/


All Articles