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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T05:25:26+00:00 2026-05-27T05:25:26+00:00

I have a navigation menu that has links with CSS3 transitions with a speed

  • 0

I have a navigation menu that has links with CSS3 transitions with a speed of .2s. When those links are hovered, their submenus are displayed with jQuery using the fadeIn and fadeOut methods also with a speed of .2s (200 milliseconds).

However, the submenus seem to be animating a tad slower than the links. Could this be an easing difference or a difference simply because they’re two completely different ways of “animating” something?

jQuery:

$(document).ready(
  function(){
    $('#nav li').has('ul').hover(
      function(){
        $(this).find('ul').stop(true, true).fadeIn(200);
      },
      function(){
        $(this).find('ul').stop(true, true).fadeOut(200);
      });
});

CSS:

#nav ul li a{
    height: 40px;
    display: block;
    padding: 0 15px;
    background-color: transparent;
    line-height: 40px;
    text-decoration: none;
    color: #ccc;
    text-shadow: 0 -1px 0 #002745;
    -webkit-transition: all .2s;
    -moz-transition: all .2s;
    transition: all .2s;
}

Is there a way to make them same speed without doing the obvious “speed up the slower animation”?

This obviously isn’t anything major but if it can be fixed, it would be great.

Thanks

  • 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-27T05:25:27+00:00Added an answer on May 27, 2026 at 5:25 am

    I don’t think you can have an expectation that two completely different means of triggering rendering should have identical speeds. jQuery has overhead it needs to deal with whereas the CSS3 animations will use the built in rendering engine. Off the top of my head I can think of the fact that jQuery’s selector engine sizzler needs to find the target, then it may need to account for browser differences, check the animation queue, etc.

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

Sidebar

Related Questions

I have a navigation menu that has submenus slide down on hover. The menu
Have created a custom navigation menu in wordpress that has some pages and some
I have a separate navigation php which has a list of links and menu
I have an ASP.NET MVC Page that has Left Menu navigation that is built
I have an ASP.NET MVC page that has left Menu Navigation that is built
I have my navigation menu in application.html and the menu has class=active . That
I'm building a navigation system using jquery scrollto. I have my navigation menu in
I have a navigation view with a cell that has something as simple as
I have a navigation bar that has two dropdowns (as nested ul's). I'm trying
I have several similar links that trigger different navigation divs to appear. I am

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.