Get a free trial // Grow your CSS skills // Land your dream job

Problems with span in link not not being in the right place

  • # February 10, 2013 at 5:58 pm


    I have a problem with this menu I’m trying to make. When I thought I was finished I noticed that a span is placed too low (the text underneath the icon isn’t centered in the circle if I move the span), when you hover with your mouse underneath the circles, it triggers the animation too early.. Can someone please help me with this?

    Here is a pen of my code:

    # February 10, 2013 at 6:37 pm

    a.nav span{
    padding-top: 40px;
    top: 0;
    It worked when I changed it with Chrome Developer Tool.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed