Select Chapter ❯
CSS Tutorial
- CSS Introduction
- CSS Syntax
- CSS Insert CSS
- CSS Backgrounds
- CSS Text
- CSS Dimensions
- CSS Border
- CSS Margin
- CSS Padding
- CSS Display
- CSS Positioning
- CSS Float
- CSS Pseudo-Class
- CSS Opacity
- CSS Media Types
CSS3 Tutorial
CSS Padding
CSS Padding is used to make space between the elements content and its border.Padding is completely transparent. You can use the value of padding independently by by giving the value of padding properties of top,left,bottom and right padding or you can also give the combined value.
Possible values of padding properties are auto,length,%,inherit.
Padding Properties
padding:top right bottom left