Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

To make multiple equal width buttons occupy container width

.row{
    display: flex;
    justify-content:space-between;
}

.btn{
    background-color: hsl(183, 100%, 15%);
    color:white;
    width:100%;
    min-width:80px;
}

/* Apply .row to parent div and .btn to multiple buttons */
 
PREVIOUS NEXT
Tagged: #To #multiple #equal #width #buttons #occupy #container #width
ADD COMMENT
Topic
Name
5+3 =