1
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Androidのブラウザでselectにcssが反映されない場合の対処法

Posted at

はじめに

Androidでselect要素にcssを当てているにもかかわらず、
特定のcssが反映されないことがあったため、対処法を記載します。
(実際に発生した症状では、paddingが反映されませんでした)

確認環境

  • Android 4.x系

対処法

cssでselect要素に"-webkit-appearance:none;"を追記します。

select{
  -webkit-appearance:none;
  padding: 3%
}

参考

同様の症状として、こちらを参考にさせていただきました。
http://espa.hida-ch.com/e653123.html

1
2
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
1
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?