Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6057711
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T08:31:07+00:00 2026-05-23T08:31:07+00:00

I use CSS transitions pretty frequently now but find it limiting to only have

  • 0

I use CSS transitions pretty frequently now but find it limiting to only have access to ease-in, ease-out etc. The bezier-curve option appears to allow the most control but even this does not allow you to specify an actual easing equation that would simulate elastic easing etc.. Is there another option or does one need to resort to javascript to perform this type of animation?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T08:31:08+00:00Added an answer on May 23, 2026 at 8:31 am

    I found there is no way to do an elastic transition with pure CSS. However you can cheat and do a CSS animation. This is what apple uses on their site:

    @-webkit-keyframes open-1 {
        from { opacity:0; -webkit-transform:translate3d( 210px, -145px, 0); }
        25%  { opacity:1; -webkit-transform:translate3d( -15.6px, 4.1px, 0); }
        30%  { opacity:1; -webkit-transform:translate3d( -10.3px, 2.7px, 0); }
        35%  { opacity:1; -webkit-transform:translate3d( 0, 0, 0); }
        40%  { opacity:1; -webkit-transform:translate3d( 4.5px, -1.2px, 0); }
        45%  { opacity:1; -webkit-transform:translate3d( 2.9px, -0.8px, 0); }
        50%  { opacity:1; -webkit-transform:translate3d( 0, 0, 0); }
        55%  { opacity:1; -webkit-transform:translate3d( -1.3px, 0.3px, 0); }
        60%  { opacity:1; -webkit-transform:translate3d( -0.8px, 0.2px, 0); }
        65%  { opacity:1; -webkit-transform:translate3d( 0, 0, 0); }
        70%  { opacity:1; -webkit-transform:translate3d( 0.4px, -0.1px, 0); }
        75%  { opacity:1; -webkit-transform:translate3d( 0.2px, -0.1px, 0); }
        80%  { opacity:1; -webkit-transform:translate3d( 0, 0, 0); }
        85%  { opacity:1; -webkit-transform:translate3d( -0.1px, 0, 0); }
        90%  { opacity:1; -webkit-transform:translate3d( -0.1px, 0, 0); }
        to   { opacity:1; -webkit-transform:translate3d( 0, 0, 0); }
    }
    

    These animations are used to great extent on Apple’s own website:
    http://www.apple.com/mac/

    Obviously this is powerful to some extent — since the animations are percentages you can easily change he duration and retain the effect.

    However, this is still very static. Let’s say you want to click a button and have it perform an elastic scaling animation. No problem, one animation can be used over and over again for each button. But let’s say you want to have an element elastically snap it’s position to wherever the user most recently clicked or tapped on the screen. Well in this case you’d need to dynamically recalculate the keyframes and then apply the animation to the element.

    At the time of this writing I don’t know that there are any good examples of dynamically generating CSS animations on the fly inside of javascript. In fact it probably warrants another question. All in all this is the only pure CSS way I found to do render a complex easing equation such as elastic easing purely with CSS.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I just wonder if it is possible to only use CSS but not javascript
I have a large wheel of div's which I rotate. I use CSS transitions
I'm trying to use CSS Transitions with a :before selector and currently the only
I use CSS transitions fairly regularly and for some reason I cannot get them
On my website ( http://amosjackson.com ), the navigation links use css transitions to change
https://i.stack.imgur.com/os34f.jpg I have this image and know i need to use css transition to
I use a CSS framework which applies transitions on moving the mouse over input
I am trying to use the CSS3 ease-in-out effect when mouseover the tabs, here
I'm looking for a library that will allow me to easily use CSS Transitions
I want to use CSS to format my GridView rows. I've set up my

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.