Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to change text color of a css class?

Tags:

html

css

asp.net

I am using Bootstrap.css, and there's a class named "form-control". I am using this class to style my aspx controls. The problem is that its textbox font color is grey and I want it to be black. I have no clue about CSS. Is there a way I can change that from grey to black? Thanks.

like image 359
el323 Avatar asked Oct 24 '25 18:10

el323


1 Answers

You can reset the text color of class - 'form-control' by adding

.form-control {
  color:#000000;
}

Add this property in a separate css file and include it just below bootstrap.min.css in head tag.

like image 190
Ash Avatar answered Oct 26 '25 07:10

Ash



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!