1 JavaScript Split Screens

This collection is a guide to creating interactive “split screens.” The simple and performant method using Flexbox, where JavaScript just toggles classes to animate flex-grows, is detailed, alongside more creative approaches. Advanced examples demonstrate the use of clip-path to create diagonal dividers controlled by mouse movement. For interfaces requiring user control, solutions with a draggable splitter based on the native CSS resize property are also featured.

Last updated:

thumbnail: Double Vertical Slider

Double Vertical Slider

An elegant and unusual content presentation where text and visuals interact dynamically, sliding past each other during transitions.