CSS: Targeting iphone and ipad screens only

@media only screen and (max-width: 480px), only screen and (max-device-width: 480px), only screen and (device-width: 768px) { .socialIcons, a#fdbk_tab{ display: none; } } Targeting only the ipad: @media only screen and (min-device-width: 768px) and (max-device-width: 1024px) { } If you are trying to target only landscape or portrait orientation, try the following: and (orientation:landscape), like […]