iphone ではプラグインを使用せず、PCと同じページを見せたい時の調整
文字サイズの自動調整をさせない→bodyに
-webkit-text-size-adjust: none;
部分的にCSSを調整→
@media screen and (max-device-width: 480px) {
#xxxx {
xxxx: xxxx;
}
}
iphone を判定して分岐をつける
<?php $isiPhone = (bool) strpos($_SERVER['HTTP_USER_AGENT'],'iPhone'); ?> <?php if(isiPhone): ?> ~ <?php endif; ?>