动态调整大小的叠加图像,具有可调整大小的基本图像和自动叠加位置重新计算

时间:2013-03-05 15:12:22

标签: css image overlay css-position

是否有可能实现所有这五项要求?最后一点并非最不重要。

1) an overlay image is placed above a base image
 (e.g. push pin at specified intersection on a city map)

2) the city map can be dynamically resized by the user in the browser window
 (the base image content is static -- i.e. resizing does not include more or less of the city)

3) the size of the push-pin is proportional to the size of the city map 
(the bigger the city map, the bigger the push-pin; the smaller the city map, 
the smaller the push-pin)

4) as the city map's size changes, the push pin's location remains accurate

5) The developer does not have to recalculate the pin's location when map's size changes

0 个答案:

没有答案