CSS Property Value How to - -webkit-appearance: button








Question

We would like to know how to -webkit-appearance: button.

Answer


<!DOCTYPE html>
<html>
<body>
  <select
    style="background: #f0f0ef; -webkit-appearance: button; padding: 10px;">
    <option value="project">Project</option>
    <option value="foo">Foo</option>
  </select>
</body><!-- ww  w  .  j av a  2s  .  c o  m-->
</html>

The code above is rendered as follows: