colorPicker

This commit is contained in:
Adrien MALINGREY 2020-10-06 19:47:36 +02:00
parent dc6146d498
commit a56d0b899d
2 changed files with 6 additions and 0 deletions

View File

@ -54,11 +54,13 @@
</table>
</div>
<div id="buttons" class="buttons">
🔎
<?php
for($value=1; $value<=9; $value++) {
echo " <button type='button' onclick='showValue(this.textContent)'>$value</button>\n";
}
?>
<label for="colorPicjer">✏️</label>
<input id='colorPicker' type="color" value='#00008b'/>
</div>
<div>

View File

@ -143,6 +143,10 @@ input::placeholder {
margin: 0;
}
input[type="color"] {
font-size: 1em;
}
a {
text-decoration: none;
}