Skip to content
This repository was archived by the owner on Apr 25, 2020. It is now read-only.

Commit 15eede5

Browse files
committed
Update README
1 parent ac1a0d2 commit 15eede5

File tree

1 file changed

+16
-8
lines changed

1 file changed

+16
-8
lines changed

README.md

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -88,23 +88,25 @@ Load script and stylesheet files from CDN:
8888

8989
## Usage
9090

91-
Wrap text/email/password input or textarea with `<float-label>`:
91+
Wrap input, textarea or select with `<float-label>`:
9292

9393
```html
9494
<float-label>
9595
<input type="email" placeholder="E-mail">
9696
</float-label>
9797

9898
<float-label>
99-
<textarea placeholder="comment"></textarea>
99+
<textarea placeholder="Comment"></textarea>
100100
</float-label>
101101

102102
<float-label>
103-
<select placeholder="Gender">
104-
<option value="" disabled selected>Gender</option>
105-
<option>M</option>
106-
<option>F</option>
107-
</select>
103+
<select>
104+
<option disabled selected>Framework</option>
105+
<option>Vue</option>
106+
<option>React</option>
107+
<option>Angular</option>
108+
<option>Ember</option>
109+
</select>
108110
</float-label>
109111
```
110112

@@ -149,7 +151,13 @@ to meet your design requirements:
149151
$ git clone git@github.com:bkzl/vue-float-label.git
150152
```
151153

152-
2. Start development:
154+
2. Install dependencies:
155+
156+
```sh
157+
$ yarn install
158+
```
159+
160+
3. Start development:
153161

154162
```sh
155163
$ npm start

0 commit comments

Comments
 (0)