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 50多岁生日简短祝福语
13 安徽疫情祝福语简短英语
14 农民朋友发财祝福语简短
15 对生活祝福语简短精辟
16 搬家词简短祝福语朋友
17 女神结婚快乐祝福语简短
18 文学短句祝福语大全简短