How can I style an HTML INPUT tag so it maintains CSS when focused on Android 2.2+?

前端 未结 3 2115
故里飘歌
故里飘歌 2020-12-28 20:38

I was delighted to discover that Android 2.2 supports the position:fixed CSS selector. I\'ve built a simple proof-of concept, here:

http://kentbrewster.com/android-s

3条回答
  •  不知归路
    2020-12-28 21:33

    The solution is to add:

    
        input {
            -webkit-user-modify: read-write-plaintext-only;
            -webkit-tap-highlight-color: rgba(255,255,255,0);
        }
    
    

    in your css.

提交回复
热议问题