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 翻译考试祝福语朋友简短
15 个人周年庆简短祝福语
16 狗狗怎么训练
17 分别祝福语简短搞笑英文
18 生日广州男生祝福语简短