Skip to content

Commit

Permalink
Added examples
Browse files Browse the repository at this point in the history
  • Loading branch information
franciscop authored Oct 3, 2024
1 parent 18282a0 commit a91cbc9
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion src/plugins/input/readme.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Input

Simple (or not) text form elements:
Simple text form elements, here formatted with the grid system:

```html
<fieldset class="flex two">
Expand All @@ -15,3 +15,15 @@ input.demo {
margin-bottom: .3em;
}
</style>

### Elements

The style applies to `<input>` (of any type), `<textarea>` and `<select>` like `<div class="select"><select>...`:

```html
<fieldset class="flex two">
<label><input type="email" placeholder="Email"></label>
<label class="select"><select><option>A</option><option>B</option></select></label>
</fieldset>
<textarea placeholder="Textarea"></textarea>
```

0 comments on commit a91cbc9

Please sign in to comment.