skip to Main Content

I am A novice coder(beginner) and I recently created a Netflix clone but there is one issue
in the inout placeholder whenever I type it comes in black colour but since the website is itself blackish its not clearly visible ….is there any way to change the input color

tried some inout placeholder functions all were in vain

3

Answers


  1. The ::placeholder pseudo-element is used to style the placeholder text within the input field. You can set the color property to change the color of the placeholder text.so you can select placeholder and add color in css

    Login or Signup to reply.
  2. Style your text inputs with a color of your choice. In your CSS, add a rule like this:

    input[type=text] {
      color: white;
    }
    
    Login or Signup to reply.
  3. Style your text inputs with a CSS color property. To change the text input colour. Try this code for solve the problem:

    input[type=text] {
      color : #FFFFFF;
    }
    
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search