HTML5/CSS3 - Change the look of resize handles

后端 未结 3 1361
萌比男神i
萌比男神i 2020-12-18 23:40

I don\'t want to turn off resizing completely, but the resize handles on textareas don\'t fit with the rest of the page style. Is there a way I can change how it looks, perh

3条回答
  •  暖寄归人
    2020-12-19 00:30

    This is a tough one. There is no way of styling this specific control. Even if you force a different appearance under webkit you still get the damn resize handle:

    http://jsfiddle.net/qw73n/

    You can, however, work around it and place a background image in the bottom left corner:

    http://jsfiddle.net/q5kdr/

    But the handler will still appear on top of it.

    I'm afraid the only alternative is using jQuery UI resizable:

    http://jqueryui.com/demos/resizable/

提交回复
热议问题