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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 19, 20262026-06-19T01:08:16+00:00 2026-06-19T01:08:16+00:00

I have some navigation links that I’m using css transitions on. Here’s the CSS…

  • 0

I have some navigation links that I’m using css transitions on.

Here’s the CSS…

        ul.yui-nav { list-style-type: none; }
        ul.yui-nav li { 
            display: inline-block; 
            text-align: center; 
            height: 110px; 
            width: 110px; 
            border: none; 
            background: none; 
        }
        ul.yui-nav li:hover { 
            background: none; 
            border: 1px solid #ccc; 
            border-radius: 50%; 
            height: 110px; 
            width: 110px; 
            transition: all 275ms;
            -moz-transition: all 275ms; /* Firefox 4 */
            -webkit-transition: all 275ms; /* Safari and Chrome */
            -o-transition: all 275ms; /* Opera */
        }
        ul.yui-nav li a  { 
            font-style: normal;
            border-radius: 50%; 
            height: 100px; 
            width: 100px; 
            background: #ccc; 
            float: left;
            color: #fff;
            text-decoration: none;
            font-size: 50px;
            font-family: 'Oswald', sans-serif;
            margin: 0 11px;
            font-weight: 700;
            margin: 5px 5px;
        }
        ul.yui-nav li a span { font-size: 16px; font-weight: 400; }

And here is the HTML…

                        <ul class="yui-nav">
                            <li><a href="#preface">Preface</a></li>
                            <li><a href="#step1">1<br/><span>Step</span></a></li>
                            <li><a href="#step2">2<br/><span>Step</span></a></li>
                            <li><a href="#step3">3<br/><span>Step</span></a></li>
                            <li><a href="#step4">4<br/><span>Step</span></a></li>
                            <li><a href="#step5">5<br/><span>Step</span></a></li>
                            <li><a href="#submit">Submit</a></li>
                        </ul>

And here’s a JS Fiddle with this all working (Don’t mind the text not looking right)…
JS Fiddle

The problem I’m having is that when you hover over the circles, during the transition the border goes from a black square to the grey circle border. I just want a grey border to come out from the circle, and I don’t understand why it’s not happening correctly.

  • 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-19T01:08:17+00:00Added an answer on June 19, 2026 at 1:08 am

    I’m not sure if i underestand your question. The problem is the black color from start the animation? You can fix it in the next lines:

    ...
    
    ul.yui-nav li { 
        ...
        border-color:#ccc;
    }
    
    ...
    

    Is this correct?

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

Sidebar

Related Questions

I have a helper method that creates navigation links for some controllers. def gen_associations(controllers)
I'm have some issues adding a class to 2 navigation links on a theme.
I need to have a navigation on which some links (those who are shorter
I have a Silverlight navigation application, that for some reason when showing a data
I have made a functional CSS navigation-bar, except for some fugly CSS side-effects --
i have a site with a simple PHP-Navigation (using $_GET-Variables). HTML-code for navigation links
I have some navigation links on the dom when the app is started which
Have created a custom navigation menu in wordpress that has some pages and some
I have a page with some links inside a div and some outside that
I have a pure CSS navigation menu with a drop-down section based on some

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.