Skip to content

Commit

Permalink
add List Group Flush to List Group docs (#25289)
Browse files Browse the repository at this point in the history
fixes #25288
  • Loading branch information
korthjp17 authored and mdo committed Jan 14, 2018
1 parent ffcbdb5 commit 638953e
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions docs/4.0/components/list-group.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,20 @@ With `<button>`s, you can also make use of the `disabled` attribute instead of t
</div>
{% endexample %}

## Flush

Add `.list-group-flush` to remove some borders and rounded corners to render list group items edge-to-edge in a parent container (e.g., cards).

{% example html %}
<ul class="list-group list-group-flush">
<li class="list-group-item">Cras justo odio</li>
<li class="list-group-item">Dapibus ac facilisis in</li>
<li class="list-group-item">Morbi leo risus</li>
<li class="list-group-item">Porta ac consectetur ac</li>
<li class="list-group-item">Vestibulum at eros</li>
</ul>
{% endexample %}

## Contextual classes

Use contextual classes to style list items with a stateful background and color.
Expand Down

0 comments on commit 638953e

Please sign in to comment.