mike.zarandona.com

coffee lover, dog person, frontend engineer

Tag: Layout

Height vs innerHeight vs OuterHeight

Posted May 1st, 2016 in JavaScript tagged Layout


This is more of a brain-dump for myself than anything, but if this visual representation of the box model helps you when working with these commonly-named and often-confused methods I’ll consider this article a huge win. Writing this out properly has spurred on a fun little clickable CSS box model on CodePen. Oh, and even though I’ve expressly written about

Read More