CSS 参考手册
CSS border-left-color 属性
设置左边框颜色
源代码:
点击运行 »
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <style> p { border-style: solid; border-left-color: #ff0000; } </style> </head> <body> <p>This is some text in a paragraph.</p> </body> </html>
运行结果:
点击运行 »