LoginSignup
0
0

More than 3 years have passed since last update.

iosでinputタグがボコってみえるのを直す

Last updated at Posted at 2020-10-09

課題

まず1枚目と2枚目を比べてみる。
IMG_3121.jpg
IMG_3122.jpg

1枚目はデフォルトのinputタグで上の方にshadowみたいな彫りの深さが出ているバージョン
2枚目はそのiosのデフォルトの仕様に対してcssで彫りの深さを消したバージョン

解決法

inputタグのcssに appearance: none; -webkit-appearance:none; を追加する

css
input {
  appearance: none;
  -webkit-appearance:none;
}
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0