CSS轮廓样式属性
在外形风格 属性指定为善有善报元素行的样式。它可以采用以下值之一-
无-无边框。(等效于outline-width:0;)
实线-轮廓是一条实线。
点状-轮廓是一系列点。
虚线-轮廓是一系列短线。
double-轮廓是两条实线。
凹槽-轮廓看起来像刻在页面上。
脊-轮廓看起来与凹槽相反。
插图-轮廓使框看起来像嵌入页面中。
起点-轮廓使框看起来像是从画布中出来的。
隐藏-与没有相同。
示例
您可以尝试运行以下代码以实现Outline-style属性-
<html>
<head>
</head>
<body>
<p style = "outline-width:thin; outline-style:solid;">
This text is having thin solid outline.
</p>
<br />
<p style = "outline-width:thick; outline-style:dashed;">
This text is having thick dashed outline.
</p>
<br />
<p style = "outline-width:5px;outline-style:dotted;">
This text is having 5x dotted outline.
</p>
</body>
</html>热门推荐
10 高考前祝福语简短字句
11 虎年送火腿祝福语简短
12 朋友花篮开业祝福语简短
13 婆婆生日祝福语简短的
14 20岁简短生日祝福语
15 男童毕业蛋糕祝福语简短
16 圣诞饭店祝福语大全简短
17 特别的端午祝福语简短
18 杨奕老师祝福语简短