$gray: #ddd; .sc-notes-footer { border-top: 1px solid $gray; counter-reset: note-footer; font-size: 14px; list-style-type: none; padding-top: 25px; } .sc-notes-footer-item::before { content: ''counter(note-footer)'. '; counter-increment: note-footer; }