Get the size of elements.
var size = ;// elem can be an elementvar size =// elem can be a string, used as a query selectorvar size =
Returns an object with:
Browser support: IE10+, Android 4.0+, iOS 5+, and modern browsers
Install with Bower:
bower install get-size
Install with npm:
npm install get-size
Firefox has an old bug that occurs within iframes that are hidden with
display: none. To resolve this, you can use alternate CSS to hide the iframe off-screen, with out
getSize is released under the MIT License.