Power of Padding
Padding
- Unnecessary or uninteresting words or details that added to make a sentence, speech etc longer.
- Adding of number of random characters at the beginning or end of the message.
![]() |
| Padding by adding value |
![]() |
| Padding by adding space |
Padding in CSS
- Generating space around the content.
- It clears the area around the content of an element inside the border.
![]() |
| Example of Padding |
Properties
Padding Top
- This property sets space at the top of an element.
![]() |
| Padding Top |
Padding Bottom
- This property sets space to the bottom of an element.
![]() |
| Padding Bottom |
Padding Left
- This property sets space to the left of the element.
![]() |
| Padding Left |
Padding Right
- This property sets space to the right of the element.







