form-elements-2.html 2.0 KB
Newer Older
1
<div class="mb-2">
C
chomik 已提交
2 3 4 5
   <label class="form-label">Password</label>
   <input type="password" class="form-control" name="example-password-input" placeholder="Password..">
</div>

6
<div class="mb-2">
C
chomik 已提交
7 8 9 10 11 12 13
   <label class="form-label">Valid State</label>
   <input type="text" class="form-control is-valid" name="example-text-input-valid"
          placeholder="Valid State..">

   <input type="text" class="form-control mt-3 state-valid" value="Valid state">
</div>

14
<div class="mb-2">
C
chomik 已提交
15 16 17 18 19 20 21 22
   <label class="form-label">Invalid State</label>
   <input type="text" class="form-control is-invalid" name="example-text-input-invalid"
          placeholder="Invalid State..">
   <div class="invalid-feedback">Invalid feedback</div>

   <input type="text" class="form-control mt-3 state-invalid" value="Invalid state">
</div>

23
<div class="mb-2">
C
chomik 已提交
24 25 26 27 28
   <label class="form-label">Country</label>
   <select class="form-control custom-select">
      <option value="">Germany</option>
   </select>
</div>
29
<div class="mb-2">
C
chomik 已提交
30
   <label class="form-label">Ratios</label>
31
   <input type="range" class="form-range" step="5" min="0" max="50">
C
chomik 已提交
32
</div>
33
<div class="mb-2">
C
chomik 已提交
34 35 36
   <label class="form-label">Size</label>
   {% include ui/input-selectgroup.html values="S,M,L,XL,XXL" type="radio" name="size" %}
</div>
37
<div class="mb-2">
C
chomik 已提交
38 39 40
   <label class="form-label">Shipping methods</label>
   {% include ui/input-selectgroup.html values="Unregistered,Priority Mail,Express Mail" class="selectgroup-vertical" type="radio" name="shipping-method" %}
</div>
41
<div class="mb-2">
C
chomik 已提交
42 43 44 45
   <label class="form-label">Icons input</label>
   {% include ui/input-selectgroup.html values="i:smartphone,i:tablet,i:monitor,i:x" class="w-100" type="radio" name="device" %}
</div>

46
<div class="mb-2">
C
chomik 已提交
47 48 49 50
   <label class="form-label">Icon input</label>
   {% include ui/input-selectgroup.html values="i:sun,i:moon,i:cloud-rain,i:cloud,Other" class="selectgroup-pills" %}
</div>

51
<div class="mb-2">
C
chomik 已提交
52 53 54 55
   <label class="form-label">Your skills</label>
   {% include ui/input-selectgroup.html values="HTML,CSS,PHP,JavaScript" class="selectgroup-pills" %}
</div>