In this demo, you have 3 slides contained inside the #viewport (red border element).
The first slide has no transformation, the second one is rotated 30 degrees and the third one is scaled 2 times.
- Drag with your mouse.
- Use your mouse wheel to zoom in/out.
- Double-click on a slide.
More on GitHub