Safari / Google Chrome / webkit CSS filter
Posted on: May 27, 2009
- In: browsers | CSS
- 2 Comments
Firefox, Opera, and webkit based browsers (Safari, Chrome) are all purported to be the shizzle when it comes to standards support, but that doesn’t mean they all render the same.
This following CSS chestnut will allow you to address any tweaks you need to make for webkit based browsers without affecting any others:
@media screen and (-webkit-min-device-pixel-ratio:0){
/* webkit rules go here */
}
2 Responses to "Safari / Google Chrome / webkit CSS filter"
Fantastic
April 16, 2010 at 11:17 pm
Found this via a quick Google search, works a treat in the odd case where Webkit differs from Gecko (button padding in my case).
Thanks!