Jump to content

Underline main nav items when hovering over

Recommended Posts

  • Replies 1
  • Views 255
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Hi. It looks like you solved with this code?

nav a:hover {
    background-size: 100% .5px !important
}

nav a {
    padding-bottom: 3px;
    overflow: visible !important;
    background-repeat: no-repeat !important;
    background-image: linear-gradient(to right,currentColor 100%,currentColor 0) !important;
    background-size: 0% .5px !important;
    background-position: 0% 100% !important;
    white-space: initial;
    transition: all ease-in-out 500ms !important;
    -ms-transition: all ease-in-out 500ms !important;
    -moz-transition: all ease-in-out 500ms !important;
    -webkit-transition: all ease-in-out 500ms !important
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.