Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to avoid an extra border-top thickness on bootstrap input field in iphone?

Tags:

html

css

I used the bootstrap input field on a form, but an unnecessary thickness on the border-top line is found on the iphone. The css code is given below:

.form-group .form-control {
  height: 42px;
  border: 1px solid #dddddd;
  box-shadow: none;
  border-radius: 0;
}

screenshot of issue

Is there any way to remove this border-top thickness in iphone ? All the feedback for this are appreciated.

like image 639
Lakshmi C Raveendran Avatar asked Oct 17 '22 06:10

Lakshmi C Raveendran


1 Answers

Try this to remove the unwanted shadow within the text input field on iOS.

 background-clip: padding-box;

Hope this helps. cheers!

like image 135
Becky Avatar answered Oct 19 '22 07:10

Becky