>  기사  >  웹 프론트엔드  >  CSS 외곽선 너비 속성

CSS 외곽선 너비 속성

WBOY
WBOY앞으로
2023-08-31 10:13:061070검색

CSS 轮廓宽度属性

outline-width 속성은 윤곽선의 너비를 설정하는 데 사용됩니다. 해당 값은 border-width 속성과 마찬가지로 길이이거나 thin,medium 또는 thick 값 중 하나여야 합니다.

예 H2>
<html>
   <head>
   </head>
   <body>
      <p style = "outline-width:thin; outline-style:solid;">
         This text is having thin outline.
      </p>
      <br />
      <p style = "outline-width:thick; outline-style:dashed;">
         This text is having thick outline.
      </p>
      <br />
      <p style = "outline-width:5px; outline-style:dotted;">
         This text is having 5x outline.
      </p>
   </body>
</html>

위 내용은 CSS 외곽선 너비 속성의 상세 내용입니다. 자세한 내용은 PHP 중국어 웹사이트의 기타 관련 기사를 참조하세요!

성명:
이 기사는 tutorialspoint.com에서 복제됩니다. 침해가 있는 경우 admin@php.cn으로 문의하시기 바랍니다. 삭제