Target Safari with CSS

Standard

I recently ran across an issue with relative positioning in Safari. Luckily for me (and you), Dustin Brewer found a way to get Safari to behave:

@media screen and (-webkit-min-device-pixel-ratio:0) {
     /* Add your Safari-specific styles here. */
}

2 thoughts on “Target Safari with CSS

Comments are closed.