I am wondering if anyone knows how to prevent browser scaling of certain page elements.
This is for the mobile version of the site that I am developing. I have a fixed menu bar that runs the full width of the site and always stays at the top of the page to provide navigation. I have optimized the size of buttons / text for working with touch screens and do not want this to be affected if the user zooms in on the page content.
The only thing I came across was the following CSS, but it doesn't seem to work when I tried: -webkit-text-size-adjust: none;
I donβt want to disable the resizing of the whole page using the Viewport meta tag, I just want to target the menu bar html elements.
source share