Answers for "placeholder for contenteditable div"

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 "placeholder for contenteditable div"

Browse Popular Code Answers by Language