Answers for "contenteditable div placeholder"

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

Code answers related to "contenteditable div placeholder"

Browse Popular Code Answers by Language