June 16, 2014
[caption id="" align=“alignnone” width=“456.0”] Inspired by Stripe , I created a slide-in input form. Turns out, it’s straight forward:.input-container
perspective: 800px
.title transform: rotateX(270deg) opacity: 0 height: 0px -webkit-backface-visibility: hidden transition: all .25s ease-in transform-style: preserve-3d transform-origin: top center
.title-show transform: rotateX(360deg) opacity: 1 height: auto
The transition is triggered by adding the class title-show when you want to display the input box. [/caption]
Hey, I'm Ian. I build websites and write about what I learn as I go. Follow me on Twitter.