.demo-pagination .source.first { padding: 0; } .demo-pagination .first .block { padding: 30px 0; text-align: center; border-right: solid 1px #eff2f6; display: inline-block; width: 50%; box-sizing: border-box; &:last-child { border-right: none; } } .demo-pagination .first .demonstration { display: block; color: #8492a6; font-size: 14px; margin-bottom: 20px; } .demo-pagination .source.last { padding: 0; } .demo-pagination .last .block { padding: 30px 24px; border-bottom: solid 1px #eff2f6; &:last-child { border-bottom: none; } } .demo-pagination .last .demonstration { font-size: 14px; color: #8492a6; line-height: 44px; } .demo-pagination .last .demonstration + .#{$namespace}-pagination { width: 70%; margin: 5px 20px 0 0; }