I am compiling an HTML page for viewing on both mobile phones and PC / Mac. In the text, I sometimes have inline images:
<p>to do that, then press on button <img src="button.png" /> for 2 seconds</p>
My fonts have a size in em or%, so it reads on both low-resolution phones and high-resolution phones. The problem is that my buttons (typically 32x images) seem so tiny on high-resolution phones.
How to adjust image size? Preferably pure CSS, but JS is still fine.
source share