Last Updated: February 19, 2017
·
1.872K
· nickaguilos

Target WebKit Browsers

Here is a quick tip for targeting browsers running on WebKit.

@media screen and (-webkit-min-device-pixel-ratio:0) {
      /*Insert WebKit CSS here*/
 }

I found this very helpful in one project where I had to override Chrome's default dropdown styling (coupled with -webkit-appearance:none; ) it might just prove a life saver