Answers for "how do i change placeholder text in css?"

CSS
1

placeholder text css

input {
  border: 1px solid black;
  padding: 3px;
  height: 300px;
}

input:placeholder-shown {
  border-color: teal;
  color: purple;
  font-style: italic;
}
Posted by: Guest on March-14-2021
0

placeholder text css

input {
  border: 1px solid black;
  padding: 3px;
  height: 20px;
}

input:placeholder-shown {
  border-color: teal;
  color: purple;
  font-style: italic;
}
Posted by: Guest on March-14-2021
-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

Code answers related to "how do i change placeholder text in css?"

Browse Popular Code Answers by Language