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

  • Home
  • SEARCH
  • 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 6208193
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T05:46:00+00:00 2026-05-24T05:46:00+00:00

I have this navigation bar with a rollover using css3 animation. It functions great

  • 0

I have this navigation bar with a rollover using css3 animation. It functions great until the animation completes. Is there a way I can keep it white on rollover?

Live Site: http://daveywhitney.com/nav/3/

CSS:

#menu{
    height : 50px;
    overflow-y : hidden;
    float:left;
    border:5px solid #FAFEFF;
    -webkit-border-radius: 50px;
-moz-border-radius: 50px;
border-radius: 50px;
}
.menu-item {
    height : 100px;
    width : 100px;
    cursor : pointer;
    display : inline-block;
    animation-name:menu;
    animation-duration:1s;
    /* Firefox */
    -moz-animation-name:menu;
    -moz-animation-duration:1s;
    /* Safari and Chrome */
    -webkit-animation-name:menu;
    -webkit-animation-duration:1s;
}
@keyframes menu{
to{margin-top:0px;}
    from {margin-top:-50px;}
}

@-moz-keyframes menu/* Firefox */
{
to{margin-top:0px;}
    from {margin-top:-50px;}
}

@-webkit-keyframes menu/* Safari and Chrome */
{
 to{margin-top:0px;}
    from {margin-top:-50px;}
}
.menu-item:hover{
    animation-name:menuhover;
    animation-duration:.3s;
    /* Firefox */
    -moz-animation-name:menuhover;
    -moz-animation-duration:.3s;
    /* Safari and Chrome */
    -webkit-animation-name:menuhover;
    -webkit-animation-duration:.3s;
}
@keyframes menuhover{
    from {margin-top:0px;}
    to {margin-top:-50px;}
}

@-moz-keyframes menuhover/* Firefox */
{
 from {margin-top:0px;}
    to {margin-top:-50px;}
}
@-webkit-keyframes menuhover/* Safari and Chrome */
{
 from {margin-top:0px;}
    to {margin-top:-50px;}
}
.menu-item .up{
    width : 100%;
    height : 50%;
    background-color:#147A7F;

}
.menu-item .down{
    background-color:#fff;
    width : 100%;
    height : 50%;

}

#nav-text {
    text-align:center;
    padding:15px 0 0 0;
}
  • 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-24T05:46:02+00:00Added an answer on May 24, 2026 at 5:46 am

    Add margin-top: -50px to the .menu-item:hover style, and it will use that after the animation finishes.

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

Sidebar

Related Questions

I have this jQuery ajax navigation tabs plugin that I created using some help
I have my navigation bar using unordered links and using jquery for ui effects.
I have this code that is my navigation bar on my site, it is
This simple HTML5 layout is intended to have a navigation bar on the left
I have a YUI menu top bar navigation menu based from this example .
I have a navigation bar that is displayed correctly (all the way to the
I have a page which work like a navigation and a iframe in this
I have this setup where in my development copy I can commit changes on
I have this string 'john smith~123 Street~Apt 4~New York~NY~12345' Using JavaScript, what is the
I have an app with a navigation bar consisting of 2 bar buttons. 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.