Home > Web Front-end > CSS Tutorial > CSS outline properties

CSS outline properties

WBOY
Release: 2023-09-12 15:41:02
forward
1079 people have browsed it

CSS 轮廓属性

outline property is a shorthand property that allows you to specify the value of multiple properties, such as color, style, outline width.

Example

<html>
   <head>
   </head>
   <body>
      <p style = "outline:thin solid green;">
         This text is having thin solid freen outline.
      </p>
      <br />
      <p style = "outline:thick dashed #009900;">
         This text is having thick dashed green outline.
      </p>
      <br />
      </p>
   </body>
</html>
Copy after login

The above is the detailed content of CSS outline properties. 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