How to detect CSS3 resize events

前端 未结 6 1295
庸人自扰
庸人自扰 2020-12-01 15:42

The CSS3 resize property can be assigned to arbitrary elements. I\'m looking for a way to detect such a resize on, say, divs (I don\'t mind it only working in Firefox at the

6条回答
  •  孤街浪徒
    2020-12-01 16:27

    Listen to DOMAttrModified events. Got the idea from this answer, this jsFiddle appears to work in Firefox 8 (if you open the console).

提交回复
热议问题