mirror of
https://github.com/kognise/water.css.git
synced 2025-12-06 06:44:58 +01:00
Add styling for color input, example to index.html
This commit is contained in:
parent
7799a68398
commit
4315ae23fc
2 changed files with 10 additions and 0 deletions
|
|
@ -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' />
|
||||
|
|
|
|||
|
|
@ -31,6 +31,11 @@ select {
|
|||
outline: none;
|
||||
}
|
||||
|
||||
input[type='color'] {
|
||||
min-height: 2rem;
|
||||
padding: 8px;
|
||||
}
|
||||
|
||||
input,
|
||||
select,
|
||||
button,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue