Join TalkersCode Now !

Get Latest Tutorials And Links On Web Development
And Get Existing Offers Via Email

CSS Padding

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:You can give all the four values like
  • padding:20px 10px 15px 20px;

    padding:top right bottom left

  • padding-top:
  • padding-top:20px;

  • padding-right:
  • padding-right:10px;

  • padding-bottom:
  • padding-bottom:15px;

  • padding-left:
  • padding-left:20px;

    Join Us With Our 21000+ Subscribers And Get Our Latest Tutorials Update Via Email

    Are You Starting A New Blog
    Do You Want Best Web Hosting?

    Try World's Best Web Hosting Provider BlueHost
    At Just $3.95/mo

    Hurry Up! Limited Time Offer

    Yes, I Want To Check Out BlueHost

    Check The World's Best SEO And All-In-One Marketing Toolkit
    For Digital Marketing Professionals SEMRUSH

    Check Out SEMRUSH