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

CSS outline color property

WBOY
WBOYforward
2023-09-06 21:05:02841browse

CSS 轮廓颜色属性

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.

Example

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!

Statement:
This article is reproduced at:tutorialspoint.com. If there is any infringement, please contact admin@php.cn delete