Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

difference bw box and border box

.alligator-box {
  box-sizing: content-box;
  width: 125px;
  height: 125px;
  border-width: 10px;
  padding: 40px;
}
Source by alligator.io #
 
PREVIOUS NEXT
Tagged: #difference #bw #box #border #box
ADD COMMENT
Topic
Name
8+9 =