Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

CSS Box Sizing

.div1 {
  width: 300px;
  height: 100px;
  border: 1px solid blue;
}

.div2 {
  width: 300px;
  height: 100px;
  padding: 50px;
  border: 1px solid red;
}
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #CSS #Box #Sizing
ADD COMMENT
Topic
Name
2+2 =