Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <head> <title>Title of the document</title> <style> div { width: 300px; padding: 20px; border-style: solid; border-color: #666; border-top-color: #1c87c9; } </style> </head> <body> <h2>Border-top-color example</h2> <div>Example for the border-top-color property with different top border color.</div> </body> </html>