Mouse over the code example below.
In modern browsers size changes caused by CSS are detected via the ResizeObserver API, however, if you have an element outside the standard document flow, or in really old browses you may need to detect this yourself and ask iFrameResizer to update the page size.
Uncomment the code below to see this working.