Here's how I handle iPhone (and similar) devices [not iPad]:
In my CSS file:
@media only screen and (max-width: 480px), only screen and (max-device-width: 480px) { /* CSS overrides for mobile here */ }
At the beginning of my HTML document:
<meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no">
Bart 01 Oct 2018-10-01 14:04
source share