Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <style>
- p.one {
- border-style: solid;
- border-color: red;
- }
- p.two {
- border-style: solid;
- border-color: blue orange;
- }
- p.three {
- border-style: solid;
- border-color: green red blue yellow;
- }
- </style>
- </head>
- <body>
- <h2>The border-color Property</h2>
- <p>This property specifies the color of the four borders:</p>
- <p class="one">A solid red border</p>
- <p class="two">A dual color border</p>
- <p class="three">A solid multicolor border</p>
- <p><b>Note:</b> The "border-color" property does not work if it is used alone. Use the "border-style" property to set the borders first.</p>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement