Home > Article > Web Front-end > CSS outline color property

outline-color property allows you to specify the color of the outline. Its value should be a color name, hex color, or RGB value, like the color and border-color properties.
You can try running the following command to implement the code for the outline-color attribute -
<html>
<head>
</head>
<body>
<p style = "outline-width:thin; outline-style:solid;outline-color:blue">
This text is having thin solid blue outline.
</p>
<br />
</body>
</html>The above is the detailed content of CSS outline color property. For more information, please follow other related articles on the PHP Chinese website!