Changing Font Size and Margin of Placeholder Text in IE

前端 未结 1 1506
予麋鹿
予麋鹿 2021-01-20 02:54

I have a text input with some placeholder:


I would like to make the placeholder te

1条回答
  •  隐瞒了意图╮
    2021-01-20 03:27

    Giving the input box a width and height does the trick.

    input {
            font-size: 20px;
            height: 20px;
            width: 200px;
        }
    

    JSFiddle

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