For example, I have a button. I can set width and height in two ways:
<button></button>
Option 1:
width:30px;
height:30px;
Option 2:
width:10vw;
height:10vh;
If I zoom option 1 - the element will be actually bigger or smaller than what I set. If I zoom option 2- nothing will change, it permanent.
On this website, at least it looks like only the "camera" zooming in and the size of the element won't change. Just like I look closer but nothing really changing. Please look at the button "get started" for example. https://www.wix.com/
How to can I set the button (or any other element) as the way this website did? (effect of camera zooming without change the element size)
Thanks for your help !
Edit:
Left top button in the corner set with px both height and width. https://i.imagesup.co/images2/daa9de845d2e0a90c9a224e7326127a4e5df195b.png
zoom 200%: https://i.imagesup.co/images2/1ea4e157249ded7413e6f00e98da3ef7bccd94fb.png
It's litterly become bigger