@import "style.scss"; .stack { display: flex; flex-direction: column; max-width: 10rem; margin: auto; @include bordered-block; } .stack-element { text-align: center; height: 1.5rem; &:not(:last-child) { border-bottom: $standard-border; } }