Remove textarea inner shadow on Mobile Safari (iPhone)
问题 By default, it seems Mobile Safari adds the top inner shadow to all input fields, including textarea. Is there a way to remove it? It's especially ugly when you have a white background. 回答1: By adding this css style: -webkit-appearance: none; 回答2: While adding the CSS style -webkit-appearance: none; will work, it gets rid of everything. You may want to try this instead: box-shadow: none !important; This way you keep the down-arrow. 回答3: Here is the easy solution input[type=text] { -webkit