padding
padding is a CSS property in the Box Model category. Sets the space inside an elements border. The syntax is padding: <length> | <percentage>. Accepted values include <length>, <percentage>. How the values behave: use length values (px, em, rem) for fixed spacing, % for relative spacing, or auto (margin only) to center elements. A typical example: padding: 16px; It is commonly applied to markup such as <div class="demo">Sample</div> Browser support: Chrome 1+, Firefox 1+, Safari 1+, Edge 12+. A close relative is width, which sets the width of an element. A close relative is height, which sets the height of an element. A close relative is min-width, which sets the minimum width of an element. More about this category: CSS box model properties — margin, padding, border, and content area. Related Box Model entries: width, height, min-width, max-width, min-height, max-height, margin, margin-top.