Show Output
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Example of CSS border-right-color property</title> <style> p { border-style: solid; border-right-color: #ff0000; } </style> </head> <body> <p><strong>Note:</strong> You must declare the <code>border-style</code> property before the <code>border-right-color</code> property. An element must have borders before you can set the color of the border.</p> </body> </html>