diff options
| author | XhmikosR <[email protected]> | 2021-03-11 08:42:53 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-03-11 08:42:53 +0200 |
| commit | 0844bb2385e1c65ab5aa902d0af86cae052fd912 (patch) | |
| tree | 1bb45e9cb45a297e8f61e85891443a099f512360 /scss/_list-group.scss | |
| parent | 9cbcbd1c4cdc21f0337f39c23b6b318fae70cf3f (diff) | |
| parent | 6b3254536bac263c39e3a536c3c13945210d91b2 (diff) | |
| download | bootstrap-nav-underline.tar.xz bootstrap-nav-underline.zip | |
Merge branch 'main' into nav-underlinenav-underline
Diffstat (limited to 'scss/_list-group.scss')
| -rw-r--r-- | scss/_list-group.scss | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/scss/_list-group.scss b/scss/_list-group.scss index 7e23b8e0c..2193168c5 100644 --- a/scss/_list-group.scss +++ b/scss/_list-group.scss @@ -12,6 +12,17 @@ @include border-radius($list-group-border-radius); } +.list-group-numbered { + list-style-type: none; + counter-reset: section; + + > li::before { + // Increments only this instance of the section counter + content: counters(section, ".") ". "; + counter-increment: section; + } +} + // Interactive list items // |
