Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <style>
- div {
- border: 1px solid black;
- background-color: lightblue;
- padding-top: 50px;
- padding-right: 50px;
- padding-bottom: 50px;
- padding-left: 50px;
- }
- </style>
- </head>
- <body>
- <h2>Using individual padding properties</h2>
- <div>This div element has a top padding of 50px, a right padding of 50px, a bottom padding of 50px, and a left padding of 50px.</div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement