Step Animation Ease
Control the transition easing between form steps globally.
Setup
Attribute: sf-step-animation-ease
Value: ease-type
Default: ease-in
Options: linear, ease, ease-in, ease-out, ease-in-out, cubic-bezier(n,n,n,n)
Where: Form Container
Description: Defines the easing function for step transitions, providing smoother and more controlled animations.
How to use: Can work in conjunction with:
- sf-step-animation(see Step Animation)
- sf-step-animation-duration(see Step Animation Duration)
HTML Example
<!-- Form Container with Animation Settings -->
<div sf="myForm" sf-step-animation="slide-top" sf-step-animation-duration="300" sf-step-animation-ease="ease-in-out">
    <form>
        <!-- Step 1 -->
        <div sf-step="step1">
            <!-- Content for Step 1 -->
            <button sf-goto="next">Next</button>
        </div>
        <!-- Step 2 -->
        <div sf-step="step2">
            <!-- Content for Step 2 -->
        </div>
    </form>
</div>
Webflow Example


sf-step-animation-ease = ease-in attributeLast updated
Was this helpful?