html - 如何在区域 map 上赋予不透明度

标签 html css opacity

我遇到了 html 不透明度问题..

目前我已经使用 css 应用了不透明度,但它不起作用 我的 html 和 css 代码在下面..

<area shape ="rect" class="transbox" coords ="0,0,30,22"
href ="test1.htm"  target ="_blank" opacity="0.5"    />

area{
 opacity: 0.6;
-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
filter: alpha(opacity=60);
-moz-opacity: 0.60;
-khtml-opacity: 0.6;
}

有人知道吗?

提前致谢

最佳答案

我不认为你可以改变每个 area 元素的不透明度。

但是,您仍然可以使用 mapper.js 实现效果.

关于html - 如何在区域 map 上赋予不透明度,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3887953/

相关文章:

html - 延迟 HTML5 :invalid pseudo-class until the first event

html - 2 个绝对框彼此下方..?

css - 重叠具有不同不透明度的 CSS 元素

html - 为什么我的描述 div 忽略了描述容器填充?

html - CSS调整图像大小并保持原始比例

html - 如何改变div Angular 的形状?

css - 联系表 : struggling with send button width. 谁能帮我?

javascript - D3.js 无法将背景图像添加到矩形

css - IE 中的 Facebook Like Box 不透明度

c# - 不透明度未应用于 WPF 弹出控件