星空网 > 软件开发 > 网页设计

css样式之border

border-image-source 属性设置边框的图片的路径[none | <image>]

 div {  border: 20px solid #000;  border-image-source: url(border.png);}

border-image-slice 属性图片边框向内偏移[ <number> | <percentage> ](1,4) ?fill

 div {  border: 20px solid #000;  border-image-source: url(border.png);  border-image-slice: 27,27,27,27;}

border-image-width 属性设置图片边框的宽度[ <length>|<number> |<percentage> | auto](1,4)

 div {  border: 20px solid #000;  border-image-source: url(border.png);  border-image-slice: 27,27,27,27;  border-image-width: 27px 1 10% 27px;}

border-image-outset 属性设置边框图像区域超出边框的量[ <length>|<number> ](1,4)

 div {  border: 20px solid #000;  border-image-source: url(border.png);  border-image-slice: 27,27,27,27;  border-image-width: 27px 1 10% 27px;  border-image-outset: 27px 27px 27px 27px;}

border-image-repeat 属性设置图像边框是否应平铺(repeated)、铺满(rounded)或拉伸(stretched)(1,2)

 div {  border: 20px solid #000;  border-image-source: url(border.png);  border-image-slice: 27,27,27,27;  border-image-width: 27px 1 10% 27px;  border-image-outset: 27px 27px 27px 27px;  border-image-repeat: rounded;  border-image: url(border.png) 27 rounded;}



原标题:css样式之border

关键词:CSS

CSS
*特别声明:以上内容来自于网络收集,著作权属原作者所有,如有侵权,请联系我们: admin#shaoqun.com (#换成@)。

阿里实时翻译AI:https://www.ikjzd.com/w/502
VR BOX侵权:https://www.ikjzd.com/w/503
ebay自动定价工具StreetPricer:https://www.ikjzd.com/w/504
定价工具RepricerExpress:https://www.ikjzd.com/w/505
Poshmark介绍_Poshmark发展:https://www.ikjzd.com/w/506
橙风计划_橙风计划具体解读:https://www.ikjzd.com/w/507
西安到都江堰旅游攻略有什么?:https://www.vstour.cn/a/407236.html
9月张家界有什么好玩的地方 张家界有几个好玩的地方:https://www.vstour.cn/a/407237.html
相关文章
我的浏览记录
最新相关资讯
海外公司注册 | 跨境电商服务平台 | 深圳旅行社 | 东南亚物流