最好的方法来检测触摸屏(ipad,iphone等)? [英] Best way to detect touchscreens (ipad, iphone, etc)?
本文介绍了最好的方法来检测触摸屏(ipad,iphone等)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如果在触摸屏设备(如ipad或iphone)上查看,我需要为我的网页加载一些额外的CSS。最简单的方法是什么?
感谢
I need to load some additional CSS to my page if its being viewed on a touch screen device like an ipad or iphone. Whats the easiest way to do this? Thanks
推荐答案
最简单可以说是 http://www.modernizr.com/ 。
这篇关于最好的方法来检测触摸屏(ipad,iphone等)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文