A Javascript Library To Handle Custom Resizing Of Flexbox Elements

Resizer is a javascript library to handle custom resizing of flexbox elements. This allows the user to drag the handle to change the size of the frame.

resize div by dragging border, how to make flex items same width, resizable div javascript, flexbox drag resize, horizontal resize div, css resize handle, resize div from left

Simple and Touch-ready Panes Splitter / Resizer Layout For Vue.js | Splitpanes

How to make use of it:

1. Install the library via NPM:

$ npm install resizerjs

2. Download the Resizer.js script and place it at the end of your HTML document.

<script src="resizer.js"></script>

3. Initialize Resizer.js on the target element:

const selector = '.rz-demo'
let resizer = new Resizer(selector)

4. Remove the pull handler.


5. Customize the drag tool in your CSS.

[data-rz-handle] {
  flex: 0 0 6px;
  background-color: rgba(0, 0, 0, 0.5);
[data-rz-handle] div {
  width: 6px;
  background-color: rgba(0, 0, 0, 0.5);

Create Resizable Flexbox Elements, Resizer.js Plugin/Github

See Demo And Download

Official Website(eknowles): Click Here

This superior jQuery/javascript plugin is developed by eknowles. For extra advanced usage, please go to the official website.

Related Posts


Responsive Multiple Selection Combo Box using Bootstrap 3 | MagicSuggest

MagicSuggest is an easy-to-use jQuery plugin for creating a combo menu that allows you to select multiple items from a dropdown list with typing and auto-complete support….


Material Design Inspired Tab UI In Vanilla JavaScript

Material Design tab vanilla JS implements a material design-inspired tab component with a click ripple effect and an active sliding menu cursor. Must Read: Responsive Accessible Tabs…


Simple Countdown Timer App In jQuery

The countdown is a front-end application that allows starting the countdown with two options: set a target date or write the number of countdown days. A countdown…


Add Animation to Your HTML5 Pages | animate.js

animate.js is a small JavaScript library that provides a convenient way to apply CSS animations powered by Animate.css to DOM elements without writing any CSS. Easily apply…


Responsive Hover Parallax Cards With Vuejs

Vue Responsive Parallax Cards Hover Create response cards with a scroll-triggered parallax effect in your Vue.js application. Must Read: jQuery Sliding Display Your Content Like a Deck…


Responsive Pure CSS Only Accordion & Tabs Component

Responsive pure CSS accordion tabs and tabs will automatically convert to a vertical accordion interface on mobile devices. Must Read: Create Dynamic Accordion Giving JSON Data Using…