0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-17 09:52:29 +01:00

add List Group Flush to List Group docs (#25289)

fixes #25288
This commit is contained in:
Jason Korth 2018-01-14 17:46:58 -06:00 committed by Mark Otto
parent ffcbdb5a1c
commit 638953e119

View File

@ -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.