How can I use CSS `resize` to resize an element to a height/width less than initial height/width on Chrome?

前端 未结 4 2168
广开言路
广开言路 2020-12-06 10:34

I have just seen that on Chromium

  • I can\'t resize an element to a height smaller than its initial height in case of resize:vertical or resiz
4条回答
  •  佛祖请我去吃肉
    2020-12-06 11:09

    I'm gonna say no(t without javascript).

    Custom CSS to allow chrome textarea resize smaller than initial state?

    The fact you cannot resize a textarea under its initial dimensions is reported as a bug (https://code.google.com/p/chromium/issues/detail?id=94583)

提交回复
热议问题