Rotate a single element and set a single keyframe offset, declared with a 45 degree rotation ( inline style )
let SC = ScrollMoo({
".box": {
markers: true,
indicatorStart: 50,
indicatorEnd: 50,
keyframes: {
transform: {
rotate: {
100: "360deg"
}
}
}
}
});
Copied!