How to apply CSS to a Mac Chrome Select Box?

Solomon Closson picture Solomon Closson · Apr 13, 2014 · Viewed 43.2k times · Source

Doesn't matter what I do, using Mac OSX 10.9.2 and Chrome Version 33.0.1750.152, padding, background-color, nothing works. I am really just wanting to apply a padding-top and padding-bottom of 5px on a select element, works everywhere cept Chrome on a MAC OSX. What gives? How to do this globally on all platforms??

Answer

Kevin Lynch picture Kevin Lynch · Apr 13, 2014

You need to apply -webkit-appearance:none; when adding CSS to select elements in webkit browsers.

DEMO http://jsfiddle.net/XxkSC/3830/