메뉴 건너뛰기

HEUKMYO

Html/css

css basic box-sizing

흑묘 2014.11.05 13:01 read.90

box-sizing: content-box|border-box|initial|inherit;

 

ValueDescription
content-boxDefault. The width and height properties (and min/max properties) includes only the content. Border, padding, or margin are not included
border-boxThe width and height properties (and min/max properties) includes content, padding and border, but not the margin
initialSets this property to its default value. Read about initial
inheritInherits this property from its parent element. Read about inherit
위로