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.
transform: none;
Slide 2
transform: rotate(30deg);
Slide 3
transform: scale(2);
  1. Drag with your mouse.
  2. Use your mouse wheel to zoom in/out.
  3. Double-click on a slide.
  4. More on GitHub