2
我想一个渐进CSS3背景结合进步CSS3背景+影像地图
html {
background: url(background.jpg) no-repeat center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}
与图像映射,
<map id="imgmap" name="imgmap"><area shape="poly" alt="1" title="1" coords="1" href="1" target="_blank" /><area shape="poly" alt="2" title="2" coords="2" href="2" target="_blank" /> </map>
请注意,我把它换成实际数据与数字1和2.
但我真的不知道如何实现这样的事情。
任何帮助将不胜感激, 谢谢。
这是你以后的事情吗? http://www.position-relative.com/tutorials/tute1_css_bg_image.php ...或者你需要多边形地图吗? – Whistletoe
另请参阅:http://stackoverflow.com/questions/7594479/how-using-usemap-in-div-background-url – Whistletoe
感谢您提供的链接。唯一的问题是,它似乎没有使用渐进的CSS3背景。 – user2426320