English 中文(简体)
如何获得半透明的边境点,以显示边界线背后的情况?
原标题:How to get a semi-transparent border-image to show the border-color behind it?

我有20px右边的包裹。 我设置了一名边界col,然后用半透明的平线 border。

我确实能够通过 Java文来改变下面的颜色,同时保持平方的文字。 但是,一旦我使用边界规则或根本消失,“后地”边界颜色就变成白色。

超文本只是:

<div class="wrapper clearfix">
...
</div>

And CSS:

.wrapper {
    float: left; 
    min-height: 100%; 
    border-right: 20px solid lime url( ../img/elastic.png ); 
    position: relative;
}
最佳回答

Sorry, but the border-image isn t meant to be used in conjunction with border-color.

According to the W3C:

边界财产具体列明了边界式财产所给出的边界风格的图像,而不是

如你能看到JSFiddle,任何边界风格都被忽视。 只有边境居民才会产生一定的影响。

我建议你为你想要的每一个边界制作具体图像。

问题回答

我可以就你的案件提出的唯一解决办法是,在<条码>上使用一种特别志愿人员系统,该代码以数据编码:URI。 这样,你就可以通过联合材料加以操纵,并应用结果。

或者,利用信管元素,以动态方式生成地图图象,并将地图作为边界图像。





相关问题
CSS working only in Firefox

I am trying to create a search text-field like on the Apple website. The HTML looks like this: <div class="frm-search"> <div> <input class="btn" type="image" src="http://www....

image changed but appears the same in browser

I m writing a php script to crop an image. The script overwrites the old image with the new one, but when I reload the page (which is supposed to pickup the new image) I still see the old one. ...

Firefox background image horizontal centering oddity

I am building some basic HTML code for a CMS. One of the page-related options in the CMS is "background image" and "stretch page width / height to background image width / height." so that with large ...

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签