Home >Web Front-end >CSS Tutorial >Set outline color using CSS
outline-color property allows you to specify the color of the outline. Its value should be a color name, hexadecimal color, or RGB value, like the color and border-color properties.
You can try running the following code to implement the outline-color property -
<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 Set outline color using CSS. For more information, please follow other related articles on the PHP Chinese website!