Answers for "placeholder contentEditable"

1

placeholder for contenteditable

[contenteditable=true]:empty:before{
  content: attr(placeholder);
  pointer-events: none;
  display: block; /* For Firefox */
}
Posted by: Guest on July-10-2021

Browse Popular Code Answers by Language