Posted By

neal_grosskopf on 04/02/08


Tagged

css hack safari target


Versions (?)

Who likes this?

4 people have marked this snippet as a favorite

pagetoscreen
neal_grosskopf
SpinZ
nijgnet


Target Safari With CSS


 / Published in: CSS
 

URL: http://dustinbrewer.com/css-hackgetting-safari-to-behave/

The -webkit prefix will ensure it is only applied to safari

  1. @media screen and (-webkit-min-device-pixel-ratio:0)
  2. {
  3. body { background: red; }
  4. }

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: mahalie on February 3, 2011

And Chrome!

You need to login to post a comment.