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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T14:41:03+00:00 2026-05-27T14:41:03+00:00

Is there a way to delay the :Hover event without using JavaScript? I know

  • 0

Is there a way to delay the :Hover event without using JavaScript? I know there is a way to delay animations, but I haven’t seen anything on delaying the :hover event.

I’m building a son-of-suckerfish like menu. I’d like to simulate what hoverIntent does without adding the extra JS weight. I’d prefer to treat this as a progressive enhancement and not make JS a requirement for using the menu.

Example of menu markup:

<div>
    <div>
        <ul>
            <li><a href="#">
                <ul>
                    <li></li>
                    <li></li>
                </ul>
            </li>
            <li>
            <li>
        </ul>
    </div>
</div>

Here is the full demo: http://jsfiddle.net/aEgV3/

  • 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-27T14:41:03+00:00Added an answer on May 27, 2026 at 2:41 pm

    You can use transitions to delay the :hover effect you want, if the effect is CSS-based.

    For example

    div{
        transition: 0s background-color;
    }
    
    div:hover{
        background-color:red;    
        transition-delay:1s;
    }
    

    this will delay applying the the hover effects (background-color in this case) for one second.


    Demo of delay on both hover on and off:

    div{
        display:inline-block;
        padding:5px;
        margin:10px;
        border:1px solid #ccc;
        transition: 0s background-color;
        transition-delay:1s;
    }
    div:hover{
        background-color:red;
    }
    <div>delayed hover</div>

    Demo of delay only on hover on:

    div{
        display:inline-block;
        padding:5px;
        margin:10px;
        border:1px solid #ccc;
        transition: 0s background-color;
    }
    div:hover{
        background-color:red;    
        transition-delay:1s;
    }
    <div>delayed hover</div>

    Vendor Specific Extentions for Transitions and W3C CSS3 transitions

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

Sidebar

Related Questions

Is there any way to check whether a file is locked without using a
Is there a way in iOS4 to call a method after a delay using
I know there are some tools and techniques for delaying the load of javascript,
is there a way to delay the jump to an anchor tag on page
is there way how to get name ov event from Lambda expression like with
I'm currently using the anythingSlider it works quite well. But if there is one
Is there any way to delay calling a superclass constructor so you can manipulate
Just wondering if there's a way to access local variables in rspec without turning
I would like to delay a hover event in jquery. I am reading from
Is there some way to delay defining the size of an array until a

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.