Skip to content

Instantly share code, notes, and snippets.

View usefulthink's full-sized avatar

Martin Schuhfuss usefulthink

  • Hamburg / Germany
  • 05:44 (UTC +02:00)
View GitHub Profile
.slide-container {
@include transform-style(preserve-3d);
@include perspective(2000px);
.slide {
opacity: 0;
@include transition(transform 800ms, opacity 800ms);
&.current { opacity: 1; @include transform(rotateY(0deg)); }
&.left { @include transform(rotateY(-90deg) translateZ(800px)); }