Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

placeholder text css

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

input:placeholder-shown {
  border-color: teal;
  color: purple;
  font-style: italic;
}
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #placeholder #text #css
ADD COMMENT
Topic
Name
2+6 =