Borders disappear in Chrome when I zoom in

后端 未结 7 1805
孤街浪徒
孤街浪徒 2020-11-28 12:36

I have this really simple form: http://jsfiddle.net/TKb6M/91/. Sometimes, when I zoom in or out using Chrome, the input borders disappear. For example, when I zoom to 90% I

相关标签:
7条回答
  • 2020-11-28 13:18

    I had a similar issue with chrome in 2018 - the top border was missing on inputs and textareas. The fix was to specify the top border in css simply as

    INPUT,TEXTAREA {
    border-top: 1px solid #aaa
    }
    

    I can't explain why that was needed, and it was only losing the borders in certain places, but at least that was a quick workaround.

    0 讨论(0)
提交回复
热议问题