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

CSS outline color property

WBOY
Release: 2023-09-06 21:05:02
forward
905 people have browsed it

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>
Copy after login

The above is the detailed content of CSS outline color property. For more information, please follow other related articles on the PHP Chinese website!

source:tutorialspoint.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template