how to give opacity on area map

冷暖自知 提交于 2019-12-02 12:26:46

问题


i am having a problem with html opacity ..

currently i have applied opacity using css but its not working my html and css code is below..

<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;
}

any one have idea about it?

Thanks in advance


回答1:


I don't think you can change opacity per area element.

However, you could still achieve an effect with mapper.js.



来源:https://stackoverflow.com/questions/3887953/how-to-give-opacity-on-area-map

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!