Valid CSS filter targeting Google Chrome and Safari 4 To target only webkit, which includes Google and Safari, encompass all the CSS that you want to use just to target Webkit in the following @media block: @media screen and (-webkit-min-device-pixel-ratio:0) { .myClass { background-color: #FF0000; } #myId {color: #0000FF;} p, a, li {text-shadow: 3px 3px 3px rgba(0, 0, 0, 0.4); } The rest of this
![CSS Hack for Google Chrome and Safari 4](https://cdn-ak-scissors.b.st-hatena.com/image/square/8d71ff5111e05619a10d29bb40d7aebaa75c8fbc/height=288;version=1;width=512/https%3A%2F%2Fs0.wp.com%2Fi%2Fblank.jpg)