CSS Box Model
CSS box model properties — margin, padding, border, and content area. This category documents 67 CSS box model entries, and each page gives you the full syntax, the accepted values with explanations, a working example, and browser support data. The entries are: width, height, min-width, max-width, min-height, max-height, margin, margin-top, margin-right, margin-bottom, margin-left, padding, padding-top, padding-right, padding-bottom, padding-left, box-shadow, border, border-radius, border-width, border-style, border-color, outline, box-decoration-break, border-top, border-right, border-bottom, border-left, border-image, outline-width, outline-style, outline-color, outline-offset, border-image-source, border-image-slice, border-image-width, border-image-outset, border-image-repeat, border-top-left-radius, border-top-right-radius, and more. Not sure where to start? width and height are among the most used entries in this category. The box model category is one of 21 categories in the CSS Reference, which covers 841+ entries in total. You can also search across every category from the search page, learn the topic end to end in the guides, or return to the CSS Reference homepage.