Padding CSS

By Prof. Fazal Rehman Shamil
Last modified on May 14th, 2020

The padding in CSS means the outside space around an element’s content and inside space of the border etc.

 

Padding on individual Sides of an Element separately in CSS

Try it

Shorthand Property of Padding by 1 values in CSS

Try it

Shorthand Property of Padding by 2 values in CSS

Try it

Shorthand Property of Padding by 3 values in CSS

Try it

Shorthand Property of Padding by 4 values in CSS

Try it

 

 

Prof.Fazal Rehman Shamil (Available for Professional Discussions)
1. Message on Facebook page for discussions,
2. Video lectures on Youtube
3. Email is only for Advertisement/business enquiries.