Home  >  Article  >  Web Front-end  >  菜鸟求救,关于DIV边框颜色透明的问题_html/css_WEB-ITnose

菜鸟求救,关于DIV边框颜色透明的问题_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:16:191623browse

实现DIV边框颜色与BODY背景呈半透明状态!


回复讨论(解决方案)

css{border-image:url(img.png)}

css{border-image:url(img.png)}


是这样吗?试了没用。BODY背景颜色为background:#5D66A2;
.HEADIMAGES {
border:3px;
border-image:url(img.png);
float:right;
}

引用 1 楼 xodbc 的回复:css{border-image:url(img.png)}


是这样吗?试了没用。BODY背景颜色为background:#5D66A2;
.HEADIMAGES {
border:3px;
border-image:url(img.png);
float:right;
}
我是指通过给边框设置支持透明通道的图片格式实现半透明边框效果,img.png是指代那张半透明的边框图片

你这问题 问的很空啊 。如果单独给你弄个样式 你放到你的项目里不见得 就有用,你还是把你遇到的问题直接贴出来大家帮你解决的好。

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn