placeholder

master
km0 3 years ago
parent 101c1cbd45
commit f377af8b2e

@ -21,7 +21,7 @@
<div id="editor"></div>
<div class="text-input">
<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="cancel">x</button>
</form>

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

Loading…
Cancel
Save