]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
add List Group Flush to List Group docs (#25289)
authorJason Korth <jkorth@dynamicagency.com>
Sun, 14 Jan 2018 23:46:58 +0000 (17:46 -0600)
committerMark Otto <markd.otto@gmail.com>
Sun, 14 Jan 2018 23:46:58 +0000 (15:46 -0800)
fixes #25288

docs/4.0/components/list-group.md

index 3f439ae17764a999874666dd6a571f399554caa2..1110eadd6bd06704cbde0c1e3fc794676041b9b4 100644 (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.