scaling map/area with css, mobile web
Is it possible to scale map/area el开发者_Go百科ements with pure css in at least, one mobile browser?
no javascript!Surprisingly, the answer might be yes, with css transforms:
img {
-webkit-transform: scale(3, 3);
-webkit-transform-origin: top left;
}
In Webkit desktop the map and areas get scaled along the image, I'd expect the same to be true of Webkit on mobile browsers.
Check it out here: http://jsfiddle.net/q8hC2/
精彩评论