龙盟编程博客 | 无障碍搜索 | 云盘搜索神器
快速搜索
主页 > web编程 > div+css/html >

CSS outline

时间:2012-12-29 08:41来源:未知 作者:admin 点击:
分享到:
outline的CSS 纲要是一个线,注意周围的因素,境外边缘,使内容脱颖而出 。 该outline的CSS属性集的轮廓周围的要素。您可以指定的样式,颜色和宽度的轮廓。 注:outline不采取行动的空间

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 color
invert
- 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
thick
length
- 1.5 - 2


收藏文章
表情删除后不可恢复,是否删除
取消
确定
图片正在上传,请稍后...
评论内容为空!
还没有评论,快来抢沙发吧!

热评话题

按钮 内容不能为空!
立刻说两句吧! 查看0条评论
精彩图集

赞助商链接