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