当前第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实现将网页变成黑白色
css如何实现底部tapbar栏效果
css文件怎么解压缩
css如何让div成圆的
css如何实现tab选项卡切换
css grid-columns属性怎么用
css的id选择器怎么定义
vertical-align负值和margin-bottom负值的差异有哪些?
怎么外部引入css
更多相关阅读请进入《outline属性》频道 >>
人民邮电出版社
本书对 Vue.js 3 技术细节的分析非常可靠,对于需要深入理解 Vue.js 3 的用户会有很大的帮助。——尤雨溪,Vue.js作者
转载请注明出处:木庄网络博客 » css outline属性怎么用?