Quantcast
Channel: HTML5, CSS3 and JavaScript
Viewing all articles
Browse latest Browse all 49

Enabling Placeholders in ContentEditable Elements with CSS

$
0
0
Recently I worked on an HTML5 app, utilizing contenteditable elements. According to the specs of the app, the empty editable elements were supposed to have placeholder texts and since the placeholder attribute is only supported by standard input boxes and textareas I was planning to use JavaScript to enable this functionality in contenteditable elements, but […]

Viewing all articles
Browse latest Browse all 49

Latest Images

Trending Articles





Latest Images