No-Library (pure JS), HTML, CSS, JavaScript
Reading "offset" property forces page reflow.
Page elements reorder with animation when window is resized.