Padding is used to create space around an elements content, inside of any defined borders.
padding-toppadding-rightpadding-bottompadding-leftpadding - Shorthand (same as margin shorthand)Note: Padding adds to the total size of the element unless you use box-sizing: border-box.
Edit the code below and click Run to see the result live.