How to change text color of a css class?

Tags: html,css,

Problem :

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.

Solution :

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

.form-control {

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

    CSS Howto..

    How to make div width almost 100%

    How to hide element label by element id in CSS?

    How would I do a two finger drag with javascript/jquery?

    Hide/show block with CSS

    How to attach for every Array-Element in jQuery different Animationeffects? And animate one by one forwards and backwards with 2 Buttons(back&next)?

    How to remove Width and Height values of an Image with css?

    How to turn off word wrapping in HTML?

    How to switch visibility of an HTML div in css for overlaying

    show hidden div below current row of divs in responsive layout with jquery

    How to stick a footer to bottom in css?

    How to make div expand all the way to the right

    How to put banner in css?

    How to center a IMG tag horizontaly and vertically using html and css in ie7?

    Android App with HTML/CSS/jQuery. [How] Can it be done?

    Jquery Hashtag link system (show what page the user is on)

    How to make images go inline vs break to a new line?

    How to get Angular Material Design's directive to scale to image properly in IE?

    How I can write CSS for IE. My code not work in IE10 nor 9,7,8?

    How to float elements in rows.

    how to center css navigation bar

    How can I prevent this plugin from popping up from behind the content area?

    CSS (Fixed width right, fluid left, left is first in html) How do I keep left div from collapsing?

    javascript or css: How to Hide any Number followed by dot Prefix “1.text”, “2.text”…“30.text” from a Text inside a Label

    creating a slide show for home page in my web site [closed]

    How to center vertical inside header?

    How to find out an element with id partially matched, and change its css style?

    How to avoid background image tile when browser window resizes

    How to over ride the transparency aspect in CSS

    How to change css on multiple elements

    How to change focus color when input is filled in with required attribute javascript/html/css