Answers for "check if input has value in css"

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 "check if input has value in css"

Browse Popular Code Answers by Language