Jump to content

Navigation animated bounce reveal

Recommended Posts

Site URL: https://www.chloebthomas.com

Hi I would like to animate my navigation bar, I have seen one that reveals each title in a bounce effect from right to left as they load (but I can't find the example unfortunately) It's like a staggered effect of each tab dropping down in a chronological bounce... I hope that makes sense?

And then I would like the underline on hover to be animated as well, with the line going from left to right. Example below:

https://www.laterwolf.com

Thank you so much in advance for any help 🙂

My site is: https://www.chloebthomas.com

Link to comment
  • Replies 5
  • Views 432
  • Created
  • Last Reply

Top Posters In This Topic

With underline, add this to Design > Custom CSS

li.gallery-collection a:after {
    content: "";
    background-color: blue;
    width: 0;
    height: 1px;
    position: absolute;
    left: 0;
    bottom: 0;
    transition: all 0.3s ease;
}
nav.main-nav li.gallery-collection a {
    position: relative;
    border: none !important;
}
li.gallery-collection a:hover:after {
    width: 100%;
    transition: all 0.3s ease;
}

 

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
5 hours ago, tuanphan said:

With underline, add this to Design > Custom CSS

li.gallery-collection a:after {
    content: "";
    background-color: blue;
    width: 0;
    height: 1px;
    position: absolute;
    left: 0;
    bottom: 0;
    transition: all 0.3s ease;
}
nav.main-nav li.gallery-collection a {
    position: relative;
    border: none !important;
}
li.gallery-collection a:hover:after {
    width: 100%;
    transition: all 0.3s ease;
}

 

Thank you so much! This worked perfectly but only for one title "illustration" not all of them?

Link to comment
On 4/24/2022 at 6:57 PM, C-bear said:

Thank you so much! This worked perfectly but only for one title "illustration" not all of them?

Try this new code

nav ul li a:after {
    content: "";
    background-color: blue;
    width: 0;
    height: 1px;
    position: absolute;
    left: 0;
    bottom: 0;
    transition: all 0.3s ease;
    border: none !important;
}
nav ul li a:hover:after {
    width: 100%;
    transition: all 0.3s ease;
}
nav.main-nav a:hover{
    border: none !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
6 hours ago, tuanphan said:

Try this new code

nav ul li a:after {
    content: "";
    background-color: blue;
    width: 0;
    height: 1px;
    position: absolute;
    left: 0;
    bottom: 0;
    transition: all 0.3s ease;
    border: none !important;
}
nav ul li a:hover:after {
    width: 100%;
    transition: all 0.3s ease;
}
nav.main-nav a:hover{
    border: none !Important;
}

 

That's worked perfectly thank you so much, the only thing is the underline is a little too close to the title, would it be possible to make the gap between the underline and the title the same as "Shop" in the picture attached?

Screenshot 2022-04-26 at 17.06.23.png

Link to comment
On 4/26/2022 at 11:08 PM, C-bear said:

That's worked perfectly thank you so much, the only thing is the underline is a little too close to the title, would it be possible to make the gap between the underline and the title the same as "Shop" in the picture attached?

Screenshot 2022-04-26 at 17.06.23.png

change

Quote
bottom: 0;

to

Quote
bottom: -5px;

 

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.