Answers for "vertical line between two divs"

CSS
1

vertical line between two divs

.line {
    position: relative;
}
.line:after {
    content: '';
    position: absolute;
    right: 0;
    border-right: 1px solid #cfc7c0;
    top: 10%;
    bottom: 10%;
}
Posted by: Guest on May-11-2020

Browse Popular Code Answers by Language