outline的CSS
纲要是一个线,注意周围的因素,境外边缘,使内容“脱颖而出” 。
该outline的CSS属性集的轮廓周围的要素。您可以指定的样式,颜色和宽度的轮廓。
注:outline不采取行动的空间,他们不必为长方形。
浏览器支持: IE浏览器: Internet Explorer中,女:火狐,正:网景。
W3C的:数目的“ W3C的”栏显示,其中的CSS建议的财产是指( CSS1或CSS2 ) 。
<html>
<head>
<style type="text/css">
p
{
border: red solid thin;
outline: green dotted thick
}
</style>
</head>
<body>
<p>Some text.</p>
</body>
</html>
outline
A shorthand property for setting all the outline properties in one declaration
outline-color
outline-style
outline-width
-
1.5
-
2
outline-color
Sets the color of the outline around an element
colorinvert
-
1.5
-
2
outline-style
Sets the style of the outline around an element
none
dotted
dashed
solid
double
groove
ridge
inset
outset
-
1.5
-
2
outline-width
Sets the width of the outline around an element
thin
medium
thicklength
-
1.5
-
2