Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

inner border css

div {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    width: 100px;
    height: 100px;
    border: 20px solid #f00;
    background: #00f;
    margin: 10px;
}

div + div {
    border: 10px solid red;
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #border #css
ADD COMMENT
Topic
Name
3+6 =