Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE html>
<title>Caret in an empty block with `text-indent'</title>
<link rel="match" href="reference/text-indent-caret-001-ref.html">
<style>
#editor {
text-indent: 100px;
caret-animation: manual; /* Prevent blinking */
padding: 10px;
}
</style>
<div id="editor" contenteditable autofocus></div>