Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <style>
- p {
- text-indent: 15px;
- }
- p.normal {
- border: 2px solid red;
- }
- p.round1 {
- border: 2px solid red;
- border-radius: 5px;
- }
- p.round2 {
- border: 2px solid red;
- border-radius: 8px;
- }
- p.round3 {
- border: 2px solid red;
- border-radius: 12px;
- }
- </style>
- </head>
- <body>
- <h2>The border-radius Property</h2>
- <p>This property is used to add rounded borders to an element:</p>
- <p class="normal">Normal border</p>
- <p class="round1">Round border</p>
- <p class="round2">Rounder border</p>
- <p class="round3">Roundest border</p>
- <p><b>Note:</b> The "border-radius" property is not supported in IE8 and earlier versions.</p>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement