源代码
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>编程字典</title> <style> p { border: 1px solid black; outline-style: double; outline-color: red; } </style> </head> <body> <h2>outline-color 属性</h2> <p><b>注意:</b> IE8 支持 outline 属性,只有!DOCTYPE被指定.</p> </body> </html>
运行结果