diff --git a/docs/components/card.md b/docs/components/card.md index 3d112c501f..9be52fd2f5 100644 --- a/docs/components/card.md +++ b/docs/components/card.md @@ -51,6 +51,16 @@ Cards support a wide variety of content, including images, text, list groups, li {% endexample %} +{% example html %} +
+ +
+{% endexample %} + {% example html %}
Card image cap diff --git a/scss/_list-group.scss b/scss/_list-group.scss index 8b940adefc..5115e56fa2 100644 --- a/scss/_list-group.scss +++ b/scss/_list-group.scss @@ -37,6 +37,18 @@ border-width: $list-group-border-width 0; border-radius: 0; } + + &:first-child { + .list-group-item:first-child { + border-top: 0; + } + } + + &:last-child { + .list-group-item:last-child { + border-bottom: 0; + } + } }