.chart { margin-bottom: 30px; } .row { border-top: 1px solid #e1e1e1; } .row > [class*='col-'] { border-left: 1px solid #e1e1e1; padding: 0 20px; } .row > [class*='col-']:first-child { border-left: 0; padding-left: 0; } .row > [class*='col-']:last-child { padding-right: 0; } @media only screen and (max-width: 1000px) { .row { border: 0; } .row > [class*='col-'] { border-top: 1px solid #e1e1e1; border-left: 0; padding: 0; } }