use jQuery to make div resizable without jQuery UI

I want to to use jQuery UI resizable(), except I don't want to load the entire library for one feature.

Any ideas how to do this easily?

Answers 1

  • Maybe you can use CSS resize?

    Browser support

    #resizable {
      width: 300px;
      border: 1px solid #333;
      resize: both;
      overflow: auto;
    }
    <div id="resizable">
      resizable div
    </div>


Related Articles