# element-size [![stable](http://badges.github.io/stability-badges/dist/stable.svg)](http://github.com/badges/stability-badges) Get the size of an element in pixels, including margins ## Usage [![NPM](https://nodei.co/npm/element-size.png)](https://nodei.co/npm/element-size/) ### [width, height] = size(element) Given a DOM `element`, return an array containing that element's `width` and `height` in pixels. ## License MIT. See [LICENSE.md](http://github.com/hughsk/element-size/blob/master/LICENSE.md) for details.