mirror of
https://github.com/hunvreus/basecoat.git
synced 2026-11-16 15:08:24 +00:00
Prepare 1.0.0-beta.3
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
|
||||
## Usage
|
||||
|
||||
Add `input` to checkbox inputs. Pair it with [Field](/components/field) and a native `<label>` for layout and labeling.
|
||||
Add `class="input"` to checkbox inputs. Pair it with [Field](/components/field) and a native `<label>` for layout and labeling.
|
||||
|
||||
```html
|
||||
<input type="checkbox" class="input" />
|
||||
@@ -33,7 +33,7 @@ Add `input` to checkbox inputs. Pair it with [Field](/components/field) and a na
|
||||
<input type="checkbox" id="checkbox-description" class="input" aria-describedby="checkbox-description-text" />
|
||||
<section>
|
||||
<label for="checkbox-description">Accept terms and conditions</label>
|
||||
<p id="checkbox-description-text" class="field-description">By clicking this checkbox, you agree to the terms and conditions.</p>
|
||||
<p id="checkbox-description-text">By clicking this checkbox, you agree to the terms and conditions.</p>
|
||||
</section>
|
||||
</div>
|
||||
</Preview>
|
||||
@@ -120,7 +120,7 @@ Checkbox layout uses document direction and logical spacing. Set `dir="rtl"` on
|
||||
<input type="checkbox" id="checkbox-rtl" class="input" aria-describedby="checkbox-rtl-description" checked />
|
||||
<section>
|
||||
<label for="checkbox-rtl">قبول الشروط والأحكام</label>
|
||||
<p id="checkbox-rtl-description" class="field-description">يمكنك تغيير هذا الخيار في أي وقت.</p>
|
||||
<p id="checkbox-rtl-description">يمكنك تغيير هذا الخيار في أي وقت.</p>
|
||||
</section>
|
||||
</div>
|
||||
</Preview>
|
||||
|
||||
Reference in New Issue
Block a user