Answers for "css check if input has text"

CSS
0

css detect if input has value

input:not(:placeholder-shown) {
  border-color: green;
}

input:placeholder-shown {
  border-color: red;
}
Posted by: Guest on August-02-2021

Code answers related to "css check if input has text"

Browse Popular Code Answers by Language