Answers for "how to style input placeholder in css"

CSS
-1

change input placeholder text css

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

input placeholder css

form ::-webkit-input-placeholder {
      color: #4d4c4c;
      font-family: "Libre Franklin", sans-serif;
      font-size: 12px;
  }
  
  form :-moz-placeholder {
      color: #4d4c4c;
      font-family: "Libre Franklin", sans-serif;
      font-size: 12px;
  }
  
  form ::-moz-placeholder {
      color: #4d4c4c;
      font-family: "Libre Franklin", sans-serif;
      font-size: 12px;
  }
  
  form :-ms-input-placeholder {
      color: #4d4c4c;
      font-family: "Libre Franklin", sans-serif;
      font-size: 12px;
  }
Posted by: Guest on February-28-2022

Code answers related to "how to style input placeholder in css"

Browse Popular Code Answers by Language