here2share

HTML border-bottom property with L&R padding

Aug 16th, 2016
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 0.36 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <style>
  5. p {
  6.     padding-left: 50px;
  7.     padding-right: 50px;
  8.     border-bottom: 6px solid red;
  9.     background-color: lightgrey;
  10. }
  11. </style>
  12. </head>
  13. <body>
  14.  
  15. <h2>The border-bottom Property</h2>
  16. <p>This property is a shorthand property for border-bottom-width, border-bottom-style, and border-bottom-color.</p>
  17.  
  18. </body>
  19. </html>
Add Comment
Please, Sign In to add comment