diff options
| author | Mark Otto <[email protected]> | 2015-06-19 16:26:33 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2015-06-19 16:26:33 -0700 |
| commit | bc29c016b7afefa2a9a42e94efaee58695049285 (patch) | |
| tree | ac294f7fbc18d4ba8c6b4179b7d1cbeb6481d70b /docs/components/list-group.md | |
| parent | 8410afe0e104459a613f6232ad46334aa8b99fda (diff) | |
| parent | 3df2d085ed219a16848b96e90a72fcd5575a5270 (diff) | |
| download | bootstrap-bc29c016b7afefa2a9a42e94efaee58695049285.tar.xz bootstrap-bc29c016b7afefa2a9a42e94efaee58695049285.zip | |
Merge branch 'v4' into v4_builds
Diffstat (limited to 'docs/components/list-group.md')
| -rw-r--r-- | docs/components/list-group.md | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/docs/components/list-group.md b/docs/components/list-group.md index 6e6faf75f..3291b8836 100644 --- a/docs/components/list-group.md +++ b/docs/components/list-group.md @@ -60,6 +60,20 @@ Linkify list group items by using anchor tags instead of list items (that also m </div> {% endexample %} +## Button items + +List group items may be buttons instead of list items (that also means a parent `<div>` instead of an `<ul>`). No need for individual parents around each element. **Don't use the standard `.btn` classes here.** + +{% example html %} +<div class="list-group"> + <button type="button" class="list-group-item">Cras justo odio</button> + <button type="button" class="list-group-item">Dapibus ac facilisis in</button> + <button type="button" class="list-group-item">Morbi leo risus</button> + <button type="button" class="list-group-item">Porta ac consectetur ac</button> + <button type="button" class="list-group-item">Vestibulum at eros</button> +</div> +{% endexample %} + ## Disabled items Add `.disabled` to a `.list-group-item` to gray it out to appear disabled. |
