【问题标题】:html map area hover effecthtml地图区域悬停效果
【发布时间】:2013-07-25 12:22:09
【问题描述】:
<img alt="" src="img/Immagini di base NoPain Project/Parti Donna/corpo-donna-fronte.png" width="477" height="672" usemap="#woman-body" id="corpo_d" />
<map id="woman-body">
    <area shape="rect" coords="260,140,200,50" href="#" id="body_one"  />
    <area shape="rect" coords="200,150,160,220" href="#" id="body_two" />
</map>

当鼠标在两个区域之一上时,我希望该区域被边框突出显示。

这是css,但它不起作用。

area#body_one:hover
{
    border:1px solid #0F0;  
}

【问题讨论】:

标签: html css tags


【解决方案1】:

我认为这行不通。你需要一个像 imagemapster 这样的插件——它很容易设置和使用,你可以用它做很多非常好的事情。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-10-09
    • 1970-01-01
    • 2015-08-21
    • 2022-10-08
    • 1970-01-01
    • 2020-10-13
    相关资源
    最近更新 更多