Answers for "how to customize input placeholder"

CSS
-1

change input placeholder text css

#text2::-webkit-input-placeholder::before {
    color:#666;
    content:"Line 1A Line 2A Line 3A";
}
Posted by: Guest on January-19-2021
0

how to customize placeholder css

<form>
  <input type="text" id="name" name="name" required="required" />
  <label for="name">Name</label>
  <br/>
  <input type="email" id="email" name="email" placeholder="Email" required="required" />
  <br/>
  <input type="submit" />
</form>
 Run code snippetHide results
Posted by: Guest on November-04-2021

Browse Popular Code Answers by Language