About div Analog input Box

excuse me, use the div contenteditable property. Simulated palceholder default prompt, the browser test is normal, mixed development ios mobile phone when entering this page, placeholder disappeared in a flash.

Dec.04,2021

try this method
mixed development of all kinds of magic bug, still can not do native ah, try other methods

<div class='rich' contenteditable="true" placeholder=' element ,'></div>
/* element attribute content*/
.rich:empty:before{
    content: attr(placeholder);   /* element attribute*/
    /*content: 'this is content';*/
    color:-sharpred;
}
/**/
.rich:focus:before{
    content:none;
}
Menu