Simple Placeholder if ContentEditable empty

Simple Placeholder if ContentEditable empty

by Adi Jaya

HTML

<div id='tes' contentEditable=true placeholder="typing here..."></div>

CSS

#tes:empty:before {
    content: attr(placeholder);
    color: #cecece;
}