Copyright © tutorialspoint.com

CSS2 Padding Properties

previous next


This is a complete reference guide for web developers where haved we listed all the CSS properties related to padding defined in the World Wide Web Consortium's Recommended Specification for Cascading Style Sheets, Level 2

Click any property to see its description with examples:

PropertyDescription
padding Defines all four padding amounts around an element
padding-bottom Defines the bottom padding of an element. Default value is 0
padding-left Defines the left padding of an element. Default value is 0
padding-right Defines the right padding of an element. Default value is 0
padding-top Defines the top padding of an element. Default value is 0

previous next

Copyright © tutorialspoint.com