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>热门推荐
1 训练狗狗基础
2 怎么训练狗狗笑
3 怎么训练狗狗卧下
4 上海狗狗训练基地
5 训练狗狗排便
6 狗狗基础训练
8 如何训练狗狗装死
9 狗狗站姿训练
10 狗狗训练用品
11 训练狗狗吧
12 狗狗要怎么训练
13 怎么训练狗狗玩球
14 训练狗狗唤回
15 狗狗训练躺下
16 狗狗训练指令
17 狗狗的训练技巧
18 狗狗不好训练