mirror of
https://github.com/kognise/water.css.git
synced 2026-01-22 04:57:04 +01:00
Add additional form elements to demo (#271)
* Fix multiple checked in radio group There should only be one value checked by default in a radio group. * Add additional form elements to demo
This commit is contained in:
parent
b51d3e27b4
commit
8505823c87
1 changed files with 25 additions and 13 deletions
|
|
@ -211,19 +211,31 @@
|
|||
<label for="about">About me</label>
|
||||
<textarea name="about" id="about" placeholder="I am a textarea..."></textarea>
|
||||
|
||||
<label>Choose a Doe:</label>
|
||||
<div>
|
||||
<input type="radio" id="john" name="drone" value="john" checked />
|
||||
<label for="john">John Doe</label>
|
||||
</div>
|
||||
<div>
|
||||
<input type="radio" id="jane" name="drone" value="jane" checked />
|
||||
<label for="jane">Jane Doe</label>
|
||||
</div>
|
||||
<div>
|
||||
<input type="radio" id="johnny" name="drone" value="johnny" checked />
|
||||
<label for="johnny">Johnny Doe</label>
|
||||
</div>
|
||||
<label for="rating">Rate this site</label>
|
||||
<input name="rating" id="rating" type="range" min="1" max="10"></input>
|
||||
|
||||
<label for="flavor">Choose a flavor</label>
|
||||
<select name="flavor" id="flavor">
|
||||
<option>Chocolate</option>
|
||||
<option>Strawberry</option>
|
||||
<option>Vanilla</option>
|
||||
</select>
|
||||
|
||||
<fieldset>
|
||||
<legend>Choose a Doe</legend>
|
||||
<div>
|
||||
<input type="radio" id="john" name="drone" value="john" checked />
|
||||
<label for="john">John Doe</label>
|
||||
</div>
|
||||
<div>
|
||||
<input type="radio" id="jane" name="drone" value="jane" />
|
||||
<label for="jane">Jane Doe</label>
|
||||
</div>
|
||||
<div>
|
||||
<input type="radio" id="johnny" name="drone" value="johnny" />
|
||||
<label for="johnny">Johnny Doe</label>
|
||||
</div>
|
||||
</fieldset>
|
||||
|
||||
<br />
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue