Specify the bottom padding of an element with CSS

CSSWeb DevelopmentFront End Technology

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: 20px; border:1px solid red;">
          This is demo content.
       </p>
       <p style = "padding-bottom: 20%; border:1px solid red;">
          This is another demo content.
       </p>
    </body>
</html>
raja
Published on 17-Apr-2018 15:33:32
Advertisements