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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T15:18:15+00:00 2026-05-23T15:18:15+00:00

The CSS code: .css3_nudge ul li a { -webkit-transition-property: color, background-color, padding-left, border-right; -webkit-transition-duration:

  • 0

The CSS code:

.css3_nudge ul li a {
   -webkit-transition-property: color, background-color, padding-left, border-right;
   -webkit-transition-duration: 400ms, 400ms, 400ms, 400ms;
}

.css3_nudge ul li a:hover {
   background-color: #efefef;
   color: #333;
   padding-left: 50px;
   border-right: 1px solid red;
}

The HTML code:

<div class="css3_nudge nudge">
   <ul>
      <li><a href="#" title="Home">Home</a></li>
      <li><a href="#" title="Blog">Blog</a></li>
      <li><a href="#" title="About">About</a></li>
      <li><a href="#" title="Register">Register</a></li>
      <li><a href="#" title="Contact">Contact</a></li>
   </ul>
</div>

The transition is working fine for all elements but border, it just appears at the end of 400ms, there is no effect on border.

What I’m trying to achieve is a effect like the new google gmail buttons.

Thanks in advance for any help

  • 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-23T15:18:16+00:00Added an answer on May 23, 2026 at 3:18 pm

    This is a pretty simple fix. You just need a border to already exist before the hover effect. So just set the border-right: 1px solid #fff; like below:

    .css3_nudge ul li a {
       -webkit-transition-property: color, background-color, padding-left, border-right;
       -webkit-transition-duration: 400ms, 400ms, 400ms, 400ms;
       border-right: 1px solid #fff; /* added property */
    }
    

    Then the transition is effectively just changing the colour of the border instead of creating a border.

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

Sidebar

Related Questions

I've got the following CSS code, but the -moz-border-radius and -webkit-border-radius styles aren't being
I need to parse some CSS code like: color: black; font-family:Courier New; background:url('test.png'); color:
I have the following css code: #Layer3 { position:absolute; width: 89%; height: 40%; left:
I have this HTML/CSS code ( JSBin ): .trackTime{width:50px; text-align:left; float:left;} .trackInputTime{width:45px; height:22px; background-color:#F4F4F4;}
I'm currently using this code to change my page's css3 background when you hover
I am testing some weird-looking CSS code that I wrote (I'm using a mix
Has there been any attempt and creating a formalized method for organizing CSS code?
I have a website that is perfectely centered aligned. The CSS code works fine.
I am trying to match multiple CSS style code blocks in a HTML document.
I have to deploy my php/html/css/etc code to multiple servers and i am looking

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.