Jumping input fields in Safari

后端 未结 3 855
被撕碎了的回忆
被撕碎了的回忆 2021-01-31 21:38

I\'m trying to recreate a pretty cool placeholder UI using only HTML and CSS, and I\'ve almost got it (demo). However, if you type something in an input field and tab to focus o

3条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-01-31 22:29

    Adding this to your input and textarea element solves the problem:

    float: left;
    

    Tested on Safari Version 6.0.5 (8536.30.1) and Mobile Safari

提交回复
热议问题