In this blog we will learn about properties of padding in CSS.
Padding is the gap between the border and text or content .This is the way to increase the gap between text and border.
Padding can be:
Padding-top: 10px;
Padding-right:10px;
Padding-bottom:10px;
Padding-left : 10px;
Short hand of padding :
Padding :10px 20px 30px 40px;
Padding is from top right bottom left; is the short hand of padding .
Example of Padding in Cascading style sheet where we have 10px padding from each side