当前第2页 返回上一页
CSS outline属性的使用示例
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | <!DOCTYPE html>
< html >
< head >
< meta charset = "utf-8" >
< title >php中文网(php.cn)</ title >
< style type = "text/css" >
div
{
border:red solid thin;
outline:#00ff00 dotted thick;
padding:10px;
}
</ style >
</ head >
< body >
< div >测试文本!</ div >
</ body >
</ html >
|
效果图:

以上就是本篇文章的全部内容,希望能对大家的学习有所帮助。
以上就是css outline属性怎么用?的详细内容,更多文章请关注木庄网络博客!
返回前面的内容
相关阅读 >>
css怎么设置图片不平铺
css如何为div添加阴影效果
css怎么给文字添加边框或字体放大效果(代码详解)
css column-width属性怎么用
如何清理无用的css样式,你知道吗?
css grid-columns属性怎么用
css实现横向与竖向进度条效果的方法
javascript的重构技巧
css最大的优点是什么
css hack是什么意思
更多相关阅读请进入《outline属性》频道 >>
人民邮电出版社
本书对 Vue.js 3 技术细节的分析非常可靠,对于需要深入理解 Vue.js 3 的用户会有很大的帮助。——尤雨溪,Vue.js作者
转载请注明出处:木庄网络博客 » css outline属性怎么用?