Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

half border bottom

div {
    width: 500px;
    height: 100px;
    position: relative;
    padding-top: 20px;
    margin-top: 50px;
}

div::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    width: 50%;
    left: 25%;
    border-top: 1px solid red;
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #border #bottom
ADD COMMENT
Topic
Name
9+3 =