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 7975039
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T08:32:24+00:00 2026-06-04T08:32:24+00:00

adding css properties: -moz-transition: all 1s ease-in-out; -webkit-transition: all 1s ease-in-out; -o-transition: all 1s

  • 0

adding css properties:

-moz-transition: all 1s ease-in-out;
-webkit-transition: all 1s ease-in-out;
-o-transition: all 1s ease-in-out;
-ms-transition: all 1s ease-in-out;
 transition: all 1s ease-in-out;

makes only firefox (version 12) act differently on jquery.animate()

just see the difference between clicking the two images on: http://jsfiddle.net/6Yj2f/1/

is there is an explanation to this behavior?

  • 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-06-04T08:32:25+00:00Added an answer on June 4, 2026 at 8:32 am

    I’ve tried this with with chrome 21 and firefox 13, but I guess there will be a difference in all other browsers, and I thinks I would expect that.

    What you have here is a sum of two eased “animations”, that’s why you’re having problems, and this is because jQuery changes width style gradually with an inline styling (where XX changes with time):

    <img id="conflicted" class="handCard" src="https://path/to/image.jpg" style="display: inline-block; width: XXpx; ">
    

    So, you are doing a 5 seconds transition just changing gradually width style of the object, this is fine if you don’t have CSS transition set, because browser won’t apply it’s own transition. But when you change width style gradually while also having a CSS transition ease (in your case set to 1 second linear ease), you’re making the browser ease every change on width style. If you set CSS transition ease at 0.1, you’ll see how as jQuery changes width style, browser also changes it, at it will be almost at the same time.

    I found some interesting “enhaced $.animation()” that claims to “Extend $.animate() to detect CSS transitions for Webkit, Mozilla and Opera and convert animations automatically. Compatible with IE6+”, didn’t try it myself, but hope you’ll find it useful.

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

Sidebar

Related Questions

I am adding a css style to all occurrences of a given word in
All the answers I could find recommended adding display:none to css... but for a
I can't find the syntax about adding CSS properties using zen coding. Maybe I
I want to remove a css class before adding a new class to an
I am adding two classes using javascript on my table, the css for the
After creating a selectbox and adding CSS to it, a <p> tag aligns next
I have a CSS problem regarding borders, the problem is adding borders around a
I have been using ResolveUrl for adding CSS and Javascript in ASP.NET files. But
I'm adding css-based tab navigation to a site that is still using table-based layout.
I have a problem adding CSS classes to my HTML links in CakePHP: I

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.