placeholder

master
km0 3 years ago
parent 101c1cbd45
commit f377af8b2e

@ -21,7 +21,7 @@
<div id="editor"></div> <div id="editor"></div>
<div class="text-input"> <div class="text-input">
<form class="modal"> <form class="modal">
<input id="input" placeholder="Insert your label" type="text" /> <input id="input" placeholder="Describe this area" type="text" />
<button id="insert" type="submit">Insert</button> <button id="insert" type="submit">Insert</button>
<button id="cancel">x</button> <button id="cancel">x</button>
</form> </form>

@ -32,7 +32,8 @@ body {
.label { .label {
position: absolute; position: absolute;
background-color: tomato; /* background-color: tomato; */
border: 1px solid currentColor;
box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.2); box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.2);
overflow: hidden; overflow: hidden;

Loading…
Cancel
Save