How can I make a TextArea 100% width without overflowing when padding is present in CSS?

前端 未结 15 2147
失恋的感觉
失恋的感觉 2020-11-29 14:44

I have the following CSS and HTML snippet being rendered.

<
15条回答
  •  -上瘾入骨i
    2020-11-29 14:51

    For people who use Bootstrap, textarea.form-control can lead to textarea sizing issues as well. Chrome and Firefox appear to use different heights with the following Bootstrap CSS:

    textarea.form-conrtol{
        height:auto;
    }
    

提交回复
热议问题