我在網頁上有一張圖片,該圖片也需要鏈接。我正在使用圖像映射來創建鏈接,并且我想知道是否存在一種方法可以將鼠標懸停時的區域形狀設置為較小的交互性。這可能嗎?我嘗試了一下但沒有成功:html<img src="{main_photo}" alt="locations map" usemap="#location-map" /><map name="location-map"> <area shape="rect" coords="208,230,290,245" href="{site_url}locations/grand_bay_al" /> <area shape="rect" coords="307,214,364,226" href="{site_url}locations/mobile_al" /> <area shape="rect" coords="317,276,375,290" href="{site_url}locations/loxley_al" /></map>的CSSarea { border: 1px solid #d5d5d5; }有什么建議么?
- 3 回答
- 0 關注
- 644 瀏覽
相關問題推薦
添加回答
舉報
0/150
提交
取消