Edit

Set the Same Padding on all Sides

The CSS Padding property specify the space between element's border and its text or content. You can set padding one side or all side as you want to set the content.

Example of Code

<style>
      .example-Set-the-Same-Padding-on-all-Sides-div {
        background: gold;
        padding: 20px;
      }
      .example-Set-the-Same-Padding-on-all-Sides-paragraph {
        background: white;
      }
    </style>
</head>
<body>
    <div class="example-Set-the-Same-Padding-on-all-Sides-div">
      <p class="example-Set-the-Same-Padding-on-all-Sides-paragraph">
        Padding of 20 pixels on all four sides.
      </p>
    </div>

Output

Padding of 20 pixels on all four sides.