I want to zoom only a specific element of my website (a certain div), if a user zooms the website on a mobile device. The following picture shows my idea:
As you can see, the test is zoomed but the top div stays the same size; only the div that contains test is zoomed / scaled.
Could someone give me some tips on how to achieve this? I really don't know where to start.
UPDATE: http://jsfiddle.net/WyqSf/. if I would zoom in on this page, it would scale both elements. I want to adjust just the content element when zooming. One way I can think of to achieve this is to retrieve the user-input and use javascript to adjust the div's width but this is contradictory with the usual behavior.
Pseudo-code:
container.mousemove {
content.changeWidth();..
}