百分百源码网-让建站变得如此简单! 登录 注册 签到领金币!

主页 | 如何升级VIP | TAG标签

当前位置: 主页>网站教程>CSS教程> CSS outline
分享文章到:

CSS outline

发布时间:01/15 来源: 浏览: 关键词:

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

打赏

打赏

取消

感谢您的支持,我会继续努力的!

扫码支持
扫码打赏,你说多少就多少

打开支付宝扫一扫,即可进行扫码打赏哦

百分百源码网 建议打赏1~10元,土豪随意,感谢您的阅读!

共有6人阅读,期待你的评论!发表评论
昵称: 网址: 验证码: 点击我更换图片
最新评论

本文标签

广告赞助

能出一分力是一分吧!

订阅获得更多模板

本文标签

广告赞助

订阅获得更多模板