Targeting the iPhone 4 in CSS:
@media only screen and (-webkit-min-device-pixel-ratio: 2) {
/* iPhone 4-specific styles go here */
}
3:23 PM - 23 Jun 2010
0 replies
25 retweets
77 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
JavaScript, HTML, CSS, HTTP, performance, security, Bash, Unicode, i18n, macOS.