Skip to content

Commit 9138373

Browse files
authored
Update README.md
1 parent 5e12b7a commit 9138373

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ Bulletproof CSS-only implementation of Float Label pattern with automatic fallba
1010

1111
No-dependencies demo: https://codepen.io/tonystar/pen/JRLaKw.
1212

13+
Bootstrap 3 demo: https://codepen.io/tonystar/pen/ALaZrV.
14+
1315
Bootstrap 4 demo: https://codepen.io/tonystar/pen/LRdpYZ.
1416

1517

@@ -31,11 +33,15 @@ Wrap `input` and `label` by `.has-float-label`:
3133
**NOTE:** `label` should go after `input`! This is the only drawback in this method.
3234

3335

34-
### Bootstrap 4 quick use
36+
### Quick use: Bootstrap
3537

3638
Instead of `float-label.min.css` just include pre-built `bootstrap-float-label.min.css`:
3739
```html
40+
<!-- Bootstrap v4 -->
3841
<link rel="stylesheet" href="https://cdn.rawgit.com/tonystar/bootstrap-float-label/v4.0.0/dist/bootstrap-float-label.min.css"/>
42+
43+
<!-- Bootstrap v3 -->
44+
<link rel="stylesheet" href="https://cdn.rawgit.com/tonystar/bootstrap-float-label/v3.0.0/dist/bootstrap-float-label.min.css"/>
3945
```
4046

4147
Markup is the same. For more details see: https://github.com/tonystar/bootstrap-float-label.

0 commit comments

Comments
 (0)