CSS padding-bottom property

JavascriptWeb DevelopmentFront End Scripts

The padding-bottom specifies the bottom padding of an element. It sets the bottom padding (space) of an element. This can take a value in terms of length of %.

Example

<html>
   <head>
   </head>
   <body>
      <p style = "padding-bottom: 10px; border:1px solid red;">
         This is a paragraph with a specified bottom padding
      </p>
      <p style = "padding-bottom: 10%; border:1px solid red;">
         This is another paragraph with a specified bottom padding in percent
      </p>
   </body>
</html>
raja
Published on 17-Apr-2018 09:23:25
Advertisements