There is a new CSS property, called resize, so the divs are resizeable too. But how to attach an event listener? Because .onresize
works only on the window object
JSFiddle: http://jsfiddle.net/3y0gfj8j/
Edit:
I don't want to use JQuery. It's not a duplicate question. I've found only JQuery solutions for this problem, that's why I asked this question.