I am using media query to target iphone/ipad/mobile.
I have written the following media query.
But my problem is if i write css in media query of mobile \'max-d
Rajnikant's answer is indeed the correct one, except that the iPad max-width is wrong. It should be 768px:
/* For ipad: */ @media screen and (max-width : 768px){}