1
0
mirror of https://github.com/kognise/water.css.git synced 2025-08-10 23:24:08 +02:00

Add styling for color input, example to index.html

This commit is contained in:
Josh
2020-10-01 15:53:11 +01:00
parent 7799a68398
commit 4315ae23fc
2 changed files with 10 additions and 0 deletions

View File

@@ -181,6 +181,11 @@
<br />
<label for='fcolor'>Select your favorite color</label>
<input type='color' name='fcolor' id='fcolor' />
<br />
<div>
<label for='volume'>Volume</label>
<input type='range' name='volume' id='volume' min='0' max='11' />

View File

@@ -31,6 +31,11 @@ select {
outline: none;
}
input[type='color'] {
min-height: 2rem;
padding: 8px;
}
input,
select,
button,