CSS padding Property
Set the padding for all four sides of a <p> element to 35 pixels: p { padding: 35px; } Try it Yourself » More “Try it Yourself” examples below. Definition and Usage An element’s padding is the space between its content and its border. The padding property is a shorthand property for the padding-top, padding-right, padding-bottom, and […]
