Ccna final exam - java, php, javascript, ios, cshap all in one. This is a collaboratively edited question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.
Tuesday, April 3, 2012
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.
By adding this css style:
ReplyDelete-webkit-appearance: none;
setting either background and border css properties of the input tag also seems to work.
ReplyDeleteTry this:
<style>
input {
background: #ccc;
border: none;
}
</style>
<form>
First name: <input type="text"/><br />
Last name: <input type="text" />
</form>