If you want to target Webkit only, use this in your CSS:
@media all and (-webkit-min-device-pixel-ratio: 1){
selectors {
properties: values;
}
}
Put all your Webkit only properties and valus withing the @media at-rule block.
Advertisement
Beware, this attribute may go away in the future when things are standardised.
http://www.tatsh.net/2011-03-26/css-target-ie-firefox-and-webkit-browsers-including-mobile
Thanks @tatsh. Love your post on @media browser targeting.