css Audio - Active file-generic CSS - Active Generic - Active HTML - Active JS - Active SVG - Active Text - Active file-generic Video - Active header Love html icon-new-collection icon-person icon-team numbered-list123 pop-out spinner split-screen star tv
CodePen probably won't work great in this browser. We generally only support the major desktop browsers like Chrome, Firefox, Safari, and Edge. Use this one at your own risk! If you're looking to test things, try looking at Pens/Projects in Debug View.
user profile image

Demo to accompany Adi Purdila’s tutorial How to Create a Split-Screen Slider With JavaScript.


  1. How to Enable touch-enable device support?

  2. You should start from this: "given a box with height h and a skew of f degrees the triangle shape that is formed at the top and the bottom (your top panel I mean) has a horizontal base that is given by the formula: x = (h/2)/tan(90 - f)".

    Hope this helps.

    Does anybody sees the same like me? CSS doesn't work in another context like an empty page. Margins do the trick but not how they are presented here....hmm...

Leave a Comment Markdown supported. Click @usernames to add to comment.

You must be logged in to comment.