How to change background color of the input field (text, upload image, etc.)

0
Hello, How can I change background color of the input fields (input string, textbox, upload photo, etc.) from white to custom color using SASS? I tried to assign a custom class to the input field with “background-color: red;”, but it changed onlt the background behind the input field caption, but not the input field itself. Thank you!
asked
2 answers
2

Have a look at http://jsfiddle.net/C5WxK/ for the correct css.

Should be something like: 

input[type="text"], textarea {
  background-color: red;
}

 

answered
0

For Text Box Background color change,you can use custom css by creating the new class in .css file as given below and add that class in corresponding text field

.textstyle .form-control{

background-color: red;

}

hope this will help!!

 

answered