.seq-in .content {
transform: translateY(0);
transition: .2s;
}
Step 1 is currently in its in1
position. Watch what happens when you go to the next step →
.seq-out .content {
transform: translateY(-100%);
transition: .2s;
}
.content {
transform: translateY(100%);
}
.seq-in .content {
transform: translateY(0);
transition: .25s;
}
By going to the next step, you caused step 1 to transition from in1
to out2
and step 2 to transition from start3
to in4
. All with just several of lines of CSS.
When navigating backwards Sequence.js can automatically reverse these transitions.
.seq-in .rotate {
animation-name: rotate;
animation-duration: 1s;
}
.seq-in .fade {
animation-name: fade;
animation-duration: 1s;
}
.seq-in .threed {
animation-name: threed;
animation-duration: 1s;
}
Sequence.js doesn't limit you to specific HTML/CSS. Use the properties, attributes, workflow, conventions, and libraries you're familiar with.
Transform
Scale
Rotate
Fade
3D
& more
.seq-in .touch {
animation-name: rotate;
animation: .35s 1.8s;
}
.seq-in .touch-title-1 {
animation-name: fade-out;
animation: .3s 1.5s;
}
.seq-in .touch-title-2 p {
animation-name: slide-in;
animation: .3s 2.35s;
}
Build for a multi-device, modern web...
Fully responsive with touch support
.seq-in .content {
transform: translateZ(0);
will-change: transform;
}
.seq-next {
/* Makes an element a functioning next button */
}
.seq-touch {
/* Styles for touch devices */
}
Fully documented, along with 30+ options, and an easy-to-use API.
.browser-icon {
transform: scale(0);
transition: .2s;
transition-timing-function: cubic-bezier(.55,1.58,.63,.99);
}
.seq-in .browser-icon {
transform: scale(1);
}
.seq-fallback {
/* Fallback specific styles */
}
Firefox
Opera
Safari
Chrome
Edge/
IE10+
A traditional side-to-side slider is automatically shown when a browser doesn't support CSS transitions and transforms. Use the .seq-fallback
class to style Sequence.js in older browsers8.
IE9
IE8
/* Install via NPM */
npm install sequencejs
/* Install via Bower */
bower install sequencejs
This presentation was powered by...
Make your animated step-based application today...
View Example Themes Download Now